diff --git a/roles/common/tasks/common.yml b/roles/common/tasks/base-pkgs.yml similarity index 78% rename from roles/common/tasks/common.yml rename to roles/common/tasks/base-pkgs.yml index b746643..e6a414f 100644 --- a/roles/common/tasks/common.yml +++ b/roles/common/tasks/base-pkgs.yml @@ -39,15 +39,3 @@ - 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: Riavvio servizio NetworkManager - service: name=network-manager state=restarted diff --git a/roles/common/tasks/gui-customizations.yml b/roles/common/tasks/gui-customizations.yml new file mode 100644 index 0000000..29f62a5 --- /dev/null +++ b/roles/common/tasks/gui-customizations.yml @@ -0,0 +1,19 @@ +--- + +- name: Correggo NetworkManager per gestire la rete + lineinfile: + dest: /etc/network/interfaces + regexp: "{{ item }}" + state: absent + with_items: + - ^auto eth0 + - ^iface eth0 + +- name: Riavvio servizio NetworkManager + service: name=network-manager state=restarted + +- name: Cambio greeter di default + lineinfile: + dest: /usr/share/lightdm/lightdm/50-ubuntu.conf + regexp: "^user-session=ubuntu$" + line: "user-session=gnome-fallback" diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 96b52df..d19acae 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -1,3 +1,8 @@ --- -- include: common.yml +- include: base-pkgs.yml tags: common + +- include: gui-customizations.yml + tags: + - common + - gui-customizations