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:
Emiliano Vavassori 2015-07-29 21:26:21 +02:00
parent c66ae28fce
commit 2ba3d76897
1 changed files with 14 additions and 14 deletions

View File

@ -30,6 +30,20 @@
tags: edu-install
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
apt: pkg={{ item }} state=installed
with_items:
@ -47,20 +61,6 @@
when: ansible_product_name == "VirtualBox"
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
lineinfile:
dest: /etc/network/interfaces