updated group ternary to be better defined for issue #33
Signed-off-by: George Nalen <georgen@mindpointgroup.com>
This commit is contained in:
parent
5445766fe2
commit
5166856c69
|
@ -154,5 +154,5 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: /etc/cron.allow
|
path: /etc/cron.allow
|
||||||
owner: root
|
owner: root
|
||||||
group: '{{ ("crontab" in discovered_cron_allow_status.stat.gr_name ) | ternary(omit,"root") }}'
|
group: '{{ (discovered_cron_allow_status.stat.gr_name == "crontab") | ternary(omit,"root") }}'
|
||||||
mode: 'u-x,g-wx,o-rwx'
|
mode: 'u-x,g-wx,o-rwx'
|
||||||
|
|
Loading…
Reference in New Issue