Change DIR_MODE only if adduser.conf is pristine
This commit is contained in:
parent
ccaecf690c
commit
2480088f8b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue