Another fix for apparmor, tunables home (ensure replacement). Better naming for a task.

This commit is contained in:
Emiliano Vavassori 2015-08-20 04:51:42 +02:00
parent 8ebe81d771
commit 45b916f0cb
2 changed files with 3 additions and 4 deletions

View File

@ -71,7 +71,7 @@
- ^auto eth0
- ^iface eth0
- name: Cambio greeter di default
- name: 'Cambio sessione di default (gnome-fallback)'
lineinfile:
dest: /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
regexp: "^user-session=ubuntu$"

View File

@ -5,11 +5,10 @@
register: cfg_samba
- name: Configuro la home per apparmor
lineinfile:
replace:
dest: /etc/apparmor.d/tunables/home
regexp: '^@\{HOMEDIRS\}=/home/$'
line: '@{HOMEDIRS}=/home/ /home/{{ domainshort }}/'
state: present
replace: '@{HOMEDIRS}=/home/ /home/{{ domainshort }}/'
sudo: yes
- name: Riavvio samba