2018-11-29 21:02:25 +00:00
|
|
|
---
|
|
|
|
- block:
|
|
|
|
- name: Remove common packages
|
|
|
|
package:
|
|
|
|
name: "{{ item }}"
|
|
|
|
state: absent
|
2020-10-17 09:31:52 +00:00
|
|
|
loop: "{{ yum_packages_uninstall }}"
|
2018-11-29 21:02:25 +00:00
|
|
|
|
|
|
|
- name: Install common packages
|
|
|
|
package:
|
|
|
|
name: "{{ item }}"
|
|
|
|
state: present
|
2020-10-17 09:31:52 +00:00
|
|
|
loop: "{{ yum_packages_install + yum_packages_install_extra }}"
|
2018-11-29 21:02:25 +00:00
|
|
|
become: True
|
|
|
|
become_user: root
|