Inverting the order for removal of unneeded packages and additional packages to be installed (due to dealing with libnss-mdns that conflicts with .local domains).
This commit is contained in:
parent
c66ae28fce
commit
2ba3d76897
@ -30,6 +30,20 @@
|
|||||||
tags: edu-install
|
tags: edu-install
|
||||||
sudo: yes
|
sudo: yes
|
||||||
|
|
||||||
|
- name: Rimozione di pacchetti installati ma non richiesti
|
||||||
|
apt: pkg={{ item }} state=absent purge=yes
|
||||||
|
with_items:
|
||||||
|
- libnss-mdns
|
||||||
|
- unity-webapps-common
|
||||||
|
- zeitgeist-core
|
||||||
|
- zeitgeist-datahub
|
||||||
|
- epoptes
|
||||||
|
sudo: yes
|
||||||
|
|
||||||
|
- name: Rimozione pacchetti non più necessari
|
||||||
|
shell: apt-get -y autoremove
|
||||||
|
sudo: yes
|
||||||
|
|
||||||
- name: Installazione pacchetti aggiuntivi
|
- name: Installazione pacchetti aggiuntivi
|
||||||
apt: pkg={{ item }} state=installed
|
apt: pkg={{ item }} state=installed
|
||||||
with_items:
|
with_items:
|
||||||
@ -47,20 +61,6 @@
|
|||||||
when: ansible_product_name == "VirtualBox"
|
when: ansible_product_name == "VirtualBox"
|
||||||
sudo: yes
|
sudo: yes
|
||||||
|
|
||||||
- name: Rimozione di pacchetti installati ma non richiesti
|
|
||||||
apt: pkg={{ item }} state=absent purge=yes
|
|
||||||
with_items:
|
|
||||||
- libnss-mdns
|
|
||||||
- unity-webapps-common
|
|
||||||
- zeitgeist-core
|
|
||||||
- zeitgeist-datahub
|
|
||||||
- epoptes
|
|
||||||
sudo: yes
|
|
||||||
|
|
||||||
- name: Rimozione pacchetti non più necessari
|
|
||||||
shell: apt-get -y autoremove
|
|
||||||
sudo: yes
|
|
||||||
|
|
||||||
- name: Correggo NetworkManager per gestire la rete
|
- name: Correggo NetworkManager per gestire la rete
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: /etc/network/interfaces
|
dest: /etc/network/interfaces
|
||||||
|
Loading…
x
Reference in New Issue
Block a user