ansible/roles/packages/tasks/install-remove-packages.yml

15 lines
305 B
YAML
Raw Normal View History

2021-11-13 14:33:05 +01:00
---
- name: Install additional software packages
package:
name: "{{ item }}"
state: present
become: true
with_items: "{{ install_packages }}"
- name: Remove specified software packages
package:
name: "{{ item }}"
state: absent
become: true
with_items: "{{ remove_packages }}"