client-pull-installation/roles/common/tasks/common.yml

43 lines
995 B
YAML
Raw Normal View History

---
# Configurazione di base del sistema.
- name: Cambiamento apt/sources.list
template:
src: apt/sources.list
dest: /etc/apt/sources.list
backup: yes
when: ansible_product_name != "VirtualBox"
- name: Aggiornamento pacchetti disponibili
apt: update_cache=yes
sudo: yes
- name: Installazione desktop environment
2015-07-09 00:42:15 +00:00
apt: pkg="edubuntu-desktop-gnome^" state=installed
sudo: yes
- name: Installazione pacchetti aggiuntivi
apt: pkg={{ item }} state=installed
with_items:
- ubuntu-edu-secondary
- epoptes-client
2015-07-08 10:16:14 +00:00
sudo: yes
- name: Rimozione di pacchetti non richiesti
apt: pkg={{ item }} state=absent purge=yes
with_items:
- unity-webapps-common
- zeitgeist-core
- zeitgeist-datahub
- epoptes
2015-07-08 10:16:14 +00:00
sudo: yes
#- name: Correggo NetworkManager per gestire la rete
# lineinfile:
# dest: /etc/NetworkManager/NetworkManager.conf
# regexp: '^managed=false'
# line: 'managed=true'
# state: present
# Configura networkmanager