rename yum_packages_install_extra
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f5a8d3ff40
commit
4f9a631b9a
@ -42,5 +42,5 @@ yum_deltarpm_percentage: 75
|
|||||||
|
|
||||||
yum_upgrade_enabled: False
|
yum_upgrade_enabled: False
|
||||||
yum_packages_install: []
|
yum_packages_install: []
|
||||||
|
yum_packages_install_extra: []
|
||||||
yum_packages_uninstall: []
|
yum_packages_uninstall: []
|
||||||
yum_packages_extra_install: []
|
|
||||||
|
@ -4,12 +4,12 @@
|
|||||||
package:
|
package:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: absent
|
state: absent
|
||||||
loop: "{{ yum_packages_uninstall | default([]) }}"
|
loop: "{{ yum_packages_uninstall }}"
|
||||||
|
|
||||||
- name: Install common packages
|
- name: Install common packages
|
||||||
package:
|
package:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
loop: "{{ yum_packages_install | default([]) }} + {{ yum_packages_extra_install | default([]) }}"
|
loop: "{{ yum_packages_install + yum_packages_install_extra }}"
|
||||||
become: True
|
become: True
|
||||||
become_user: root
|
become_user: root
|
||||||
|
Loading…
Reference in New Issue
Block a user