forked from evolix/ansible-roles
evomaintenance: force permissions on config file
This commit is contained in:
parent
290dfd300a
commit
432a89fe40
|
@ -13,6 +13,9 @@
|
||||||
template:
|
template:
|
||||||
src: evomaintenance.j2
|
src: evomaintenance.j2
|
||||||
dest: /etc/evomaintenance.cf
|
dest: /etc/evomaintenance.cf
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: "0600"
|
||||||
|
|
||||||
# - name: list users with a shell
|
# - name: list users with a shell
|
||||||
# shell: "cat /etc/passwd | grep -vE \"^root:\" | grep -E \":/[^:]+sh$\" | cut -d: -f6"
|
# shell: "cat /etc/passwd | grep -vE \"^root:\" | grep -E \":/[^:]+sh$\" | cut -d: -f6"
|
||||||
|
|
Loading…
Reference in a new issue