client-pull-installation/roles/networkpackagemanager/tasks/main.yml

18 lines
436 B
YAML
Raw Normal View History

---
# Managing installation/deletion of packages set with NetworkPackageManager
# within NethServer console
- name: Installing packages for specific role from NetworkPackageManager
2015-09-13 23:15:51 +00:00
apt:
name: '{{ item }}'
state: present
2015-09-14 01:37:32 +00:00
sudo: yes
with_items: "{{ addpkg }}"
- name: Removing packages for specific role from NetworkPackageManager
2015-09-13 23:15:51 +00:00
apt:
name: '{{ item }}'
state: absent
purge: yes
with_items: "{{ delpkg }}"