Robert Kaussow
67ee7030c6
All checks were successful
continuous-integration/drone/push Build is passing
18 lines
466 B
YAML
18 lines
466 B
YAML
---
|
|
- block:
|
|
- name: Remove common packages
|
|
package:
|
|
name: "{{ item }}"
|
|
enablerepo: "{{ yum_packages_enablerepo }}"
|
|
state: absent
|
|
loop: "{{ yum_packages_uninstall }}"
|
|
|
|
- name: Install common packages
|
|
package:
|
|
name: "{{ item }}"
|
|
enablerepo: "{{ yum_packages_enablerepo }}"
|
|
state: present
|
|
loop: "{{ yum_packages_install + yum_packages_install_extra }}"
|
|
become: True
|
|
become_user: root
|