Change DIR_MODE only if adduser.conf is pristine

This commit is contained in:
Jérémy Lecour 2017-10-07 22:59:06 +02:00
parent ccaecf690c
commit 2480088f8b
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@
- name: Set /etc/adduser.conf DIR_MODE to 0700
replace:
dest: /etc/adduser.conf
regexp: "^DIR_MODE=.*$"
regexp: "^DIR_MODE=0755$"
replace: "DIR_MODE=0700"
when: evolinux_system_dirmode_adduser