Riorganizzazione dei ruoli fin'ora visti.
This commit is contained in:
parent
0c57cfea06
commit
ff6b5e076f
@ -4,4 +4,5 @@
|
|||||||
user: root
|
user: root
|
||||||
roles:
|
roles:
|
||||||
- init
|
- init
|
||||||
- common
|
- base
|
||||||
|
- domain
|
||||||
|
@ -44,3 +44,18 @@
|
|||||||
- zeitgeist-datahub
|
- zeitgeist-datahub
|
||||||
- epoptes
|
- epoptes
|
||||||
sudo: yes
|
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"
|
9
roles/base/tasks/main.yml
Normal file
9
roles/base/tasks/main.yml
Normal 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
|
@ -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"
|
|
@ -1,13 +0,0 @@
|
|||||||
---
|
|
||||||
- include: base-pkgs.yml
|
|
||||||
tags: common
|
|
||||||
|
|
||||||
- include: gui-customizations.yml
|
|
||||||
tags:
|
|
||||||
- common
|
|
||||||
- gui-customizations
|
|
||||||
|
|
||||||
- include: glib2.yml
|
|
||||||
tags:
|
|
||||||
- common
|
|
||||||
- glib2
|
|
3
roles/domain/meta/main.yml
Normal file
3
roles/domain/meta/main.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
dependencies:
|
||||||
|
- { role: prereq }
|
BIN
roles/domain/tasks/.gui-customizations.yml.swp
Normal file
BIN
roles/domain/tasks/.gui-customizations.yml.swp
Normal file
Binary file not shown.
8
roles/domain/tasks/gui-changes.yml
Normal file
8
roles/domain/tasks/gui-changes.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
# Cambiamenti all'interfaccia grafica
|
||||||
|
|
||||||
|
- include: lightdm.yml
|
||||||
|
tags: lightdm
|
||||||
|
|
||||||
|
- include: glib2.yml
|
||||||
|
tags: glib2
|
11
roles/domain/tasks/lightdm.yml
Normal file
11
roles/domain/tasks/lightdm.yml
Normal 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"
|
8
roles/domain/tasks/main.yml
Normal file
8
roles/domain/tasks/main.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
# Configurazioni per messa in dominio.
|
||||||
|
# Impostazioni grafiche da gestire in dominio
|
||||||
|
|
||||||
|
- include: gui-changes.yml
|
||||||
|
tags:
|
||||||
|
- domain
|
||||||
|
- gui
|
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
dependencies:
|
dependencies:
|
||||||
- { role: prereq, tags: [ 'prereq' ] }
|
- { role: prereq }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user