This commit is contained in:
parent
46a3c91591
commit
ac5bd6a65b
@ -4,14 +4,12 @@
|
|||||||
package:
|
package:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: absent
|
state: absent
|
||||||
loop:
|
loop: "{{ yum_packages_uninstall | default([]) }}"
|
||||||
- "{{ yum_packages_uninstall | default([]) }}"
|
|
||||||
|
|
||||||
- name: Install common packages
|
- name: Install common packages
|
||||||
package:
|
package:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
loop:
|
loop: "{{ yum_packages_install | default([]) }} + {{ yum_packages_extra_install | default([]) }}"
|
||||||
- "{{ yum_packages_install | default([]) }} + {{ yum_packages_extra_install | default([]) }}"
|
|
||||||
become: True
|
become: True
|
||||||
become_user: root
|
become_user: root
|
||||||
|
Loading…
Reference in New Issue
Block a user