Another fix for apparmor, tunables home (ensure replacement). Better naming for a task.
This commit is contained in:
parent
8ebe81d771
commit
45b916f0cb
@ -71,7 +71,7 @@
|
|||||||
- ^auto eth0
|
- ^auto eth0
|
||||||
- ^iface eth0
|
- ^iface eth0
|
||||||
|
|
||||||
- name: Cambio greeter di default
|
- name: 'Cambio sessione di default (gnome-fallback)'
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
|
dest: /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
|
||||||
regexp: "^user-session=ubuntu$"
|
regexp: "^user-session=ubuntu$"
|
||||||
|
@ -5,11 +5,10 @@
|
|||||||
register: cfg_samba
|
register: cfg_samba
|
||||||
|
|
||||||
- name: Configuro la home per apparmor
|
- name: Configuro la home per apparmor
|
||||||
lineinfile:
|
replace:
|
||||||
dest: /etc/apparmor.d/tunables/home
|
dest: /etc/apparmor.d/tunables/home
|
||||||
regexp: '^@\{HOMEDIRS\}=/home/$'
|
regexp: '^@\{HOMEDIRS\}=/home/$'
|
||||||
line: '@{HOMEDIRS}=/home/ /home/{{ domainshort }}/'
|
replace: '@{HOMEDIRS}=/home/ /home/{{ domainshort }}/'
|
||||||
state: present
|
|
||||||
sudo: yes
|
sudo: yes
|
||||||
|
|
||||||
- name: Riavvio samba
|
- name: Riavvio samba
|
||||||
|
Loading…
x
Reference in New Issue
Block a user