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
|
- name: Installazione pacchetti da aggiungere per il ruolo
|
||||||
apt: name={{ item }} state=present
|
apt: name={{ item }} state=present
|
||||||
sudo: yes
|
sudo: yes
|
||||||
when: "{{ addpkg }}|length > 0"
|
|
||||||
with_items: "{{ addpkg }}"
|
with_items: "{{ addpkg }}"
|
||||||
|
|
||||||
- name: Rimozione pacchetti da rimuovere per il ruolo
|
- name: Rimozione pacchetti da rimuovere per il ruolo
|
||||||
apt: name={{ item }} state=absent purge=yes
|
apt: name={{ item }} state=absent purge=yes
|
||||||
sudo: yes
|
sudo: yes
|
||||||
when: "{{ delpkg }}|length > 0"
|
|
||||||
with_items: "{{ delpkg }}"
|
with_items: "{{ delpkg }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user