Robert Kaussow
ac5bd6a65b
All checks were successful
continuous-integration/drone/push Build is passing
16 lines
410 B
YAML
16 lines
410 B
YAML
---
|
|
- block:
|
|
- name: Remove common packages
|
|
package:
|
|
name: "{{ item }}"
|
|
state: absent
|
|
loop: "{{ yum_packages_uninstall | default([]) }}"
|
|
|
|
- name: Install common packages
|
|
package:
|
|
name: "{{ item }}"
|
|
state: present
|
|
loop: "{{ yum_packages_install | default([]) }} + {{ yum_packages_extra_install | default([]) }}"
|
|
become: True
|
|
become_user: root
|