Another correction to roles.
This commit is contained in:
parent
09bdc182ea
commit
b703dc1a4e
@ -3,11 +3,9 @@
|
||||
- name: Installazione pacchetti da aggiungere per il ruolo
|
||||
apt: name={{ item }} state=present
|
||||
sudo: yes
|
||||
when: "{{ addpkg }}|length > 0"
|
||||
with_items: "{{ addpkg }}"
|
||||
|
||||
- name: Rimozione pacchetti da rimuovere per il ruolo
|
||||
apt: name={{ item }} state=absent purge=yes
|
||||
sudo: yes
|
||||
when: "{{ delpkg }}|length > 0"
|
||||
with_items: "{{ delpkg }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user