18 lines
491 B
YAML
18 lines
491 B
YAML
---
|
|
- block:
|
|
- name: Remove common packages
|
|
package:
|
|
name: "{{ item }}"
|
|
enablerepo: "{{ packages_packages_enablerepo }}"
|
|
state: absent
|
|
loop: "{{ packages_packages_uninstall }}"
|
|
|
|
- name: Install common packages
|
|
package:
|
|
name: "{{ item }}"
|
|
enablerepo: "{{ packages_packages_enablerepo }}"
|
|
state: present
|
|
loop: "{{ packages_packages_install + packages_packages_install_extra }}"
|
|
become: True
|
|
become_user: root
|