xoxys.packages/tasks/packages.yml
Robert Kaussow 4cd5b0f89e
Some checks failed
continuous-integration/drone/push Build is failing
initial commit
2022-02-12 14:36:51 +01:00

18 lines
491 B
YAML

---
- block:
- name: Remove common packages
package:
name: "{{ item }}"
enablerepo: "{{ packages_packages_enablerepo }}"
state: absent
loop: "{{ packages_packages_uninstall }}"
- name: Install common packages
package:
name: "{{ item }}"
enablerepo: "{{ packages_packages_enablerepo }}"
state: present
loop: "{{ packages_packages_install + packages_packages_install_extra }}"
become: True
become_user: root