Riorganizzazione dei ruoli fin'ora visti.

This commit is contained in:
Emiliano Vavassori 2015-07-12 21:08:55 +02:00
parent 0c57cfea06
commit ff6b5e076f
16 changed files with 57 additions and 41 deletions

View File

@ -4,4 +4,5 @@
user: root
roles:
- init
- common
- base
- domain

View File

@ -44,3 +44,18 @@
- zeitgeist-datahub
- epoptes
sudo: yes
- name: Correggo NetworkManager per gestire la rete
lineinfile:
dest: /etc/network/interfaces
regexp: "{{ item }}"
state: absent
with_items:
- ^auto eth0
- ^iface eth0
- name: Cambio greeter di default
lineinfile:
dest: /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
regexp: "^user-session=ubuntu$"
line: "user-session=gnome-fallback"

View File

@ -0,0 +1,9 @@
---
# Configurazioni di base.
# Al termine delle configurazioni di base, avremo un'installazione
# completa di Edubuntu.
- include: base.yml
tags:
- base
- edubuntu

View File

@ -1,26 +0,0 @@
---
- name: Correggo NetworkManager per gestire la rete
lineinfile:
dest: /etc/network/interfaces
regexp: "{{ item }}"
state: absent
with_items:
- ^auto eth0
- ^iface eth0
- name: Cambio greeter di default
lineinfile:
dest: /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
regexp: "^user-session=ubuntu$"
line: "user-session=gnome-fallback"
- name: Altre impostazioni lightdm
lineinfile:
dest: /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
regexp: "{{ item }}"
line: "{{ item }}"
with_items:
- "allow-guest=false"
- "greeter-hide-users=true"
- "greeter-show-manual-login=true"

View File

@ -1,13 +0,0 @@
---
- include: base-pkgs.yml
tags: common
- include: gui-customizations.yml
tags:
- common
- gui-customizations
- include: glib2.yml
tags:
- common
- glib2

View File

@ -0,0 +1,3 @@
---
dependencies:
- { role: prereq }

Binary file not shown.

View File

@ -0,0 +1,8 @@
---
# Cambiamenti all'interfaccia grafica
- include: lightdm.yml
tags: lightdm
- include: glib2.yml
tags: glib2

View File

@ -0,0 +1,11 @@
---
- name: Altre impostazioni lightdm
lineinfile:
dest: /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
regexp: "{{ item }}"
line: "{{ item }}"
with_items:
- "allow-guest=false"
- "greeter-hide-users=true"
- "greeter-show-manual-login=true"

View File

@ -0,0 +1,8 @@
---
# Configurazioni per messa in dominio.
# Impostazioni grafiche da gestire in dominio
- include: gui-changes.yml
tags:
- domain
- gui

View File

@ -1,3 +1,3 @@
---
dependencies:
- { role: prereq, tags: [ 'prereq' ] }
- { role: prereq }