Other tentative fix.
This commit is contained in:
parent
40e371c58c
commit
d22c6a9ef4
@ -39,13 +39,13 @@
|
||||
apt: pkg={{ item }} state=absent purge=yes
|
||||
with_items: "{{ base_client_delpkg }}"
|
||||
sudo: yes
|
||||
when: "'{{ role }}' == 'client' and '{{ base_client_delpkg }}'|length > 0"
|
||||
when: "'{{ role }}' == 'client' and {{ base_client_delpkg }}.count > 0"
|
||||
|
||||
- name: Rimozione pacchetti installati ruolo docenti
|
||||
apt: pkg={{ item }} state=absent purge=yes
|
||||
with_items: "{{ base_docenti_delpkg }}"
|
||||
sudo: yes
|
||||
when: "'{{ role }}' == 'docenti' and '{{ base_docenti_delpkg }}'|length > 0"
|
||||
when: "'{{ role }}' == 'docenti' and {{ base_docenti_delpkg }}.count > 0"
|
||||
|
||||
- name: Rimozione pacchetti non più necessari
|
||||
shell: apt-get -y autoremove
|
||||
@ -63,13 +63,13 @@
|
||||
apt: pkg={{ item }} state=present
|
||||
with_items: "{{ base_client_addpkg }}"
|
||||
sudo: yes
|
||||
when: "'{{ role }}' == 'client' and '{{ base_client_addpkg }}'|length > 0"
|
||||
when: "'{{ role }}' == 'client' and {{ base_client_addpkg }}.count > 0"
|
||||
|
||||
- name: Installazione pacchetti installati ruolo docenti
|
||||
apt: pkg={{ item }} state=present
|
||||
with_items: "{{ base_docenti_addpkg }}"
|
||||
sudo: yes
|
||||
when: "'{{ role }}' == 'docenti' and '{{ base_docenti_addpkg }}'|length > 0"
|
||||
when: "'{{ role }}' == 'docenti' and {{ base_docenti_addpkg }}.count > 0"
|
||||
|
||||
- name: Aggiungo VirtualBox Guest Additions, se necessario
|
||||
apt: pkg=virtualbox-guest-dkms state=present
|
||||
|
Loading…
x
Reference in New Issue
Block a user