updated group ternary to be better defined for issue #33

Signed-off-by: George Nalen <georgen@mindpointgroup.com>
This commit is contained in:
George Nalen 2025-04-17 16:52:03 -05:00
parent 5445766fe2
commit 5166856c69
No known key found for this signature in database
GPG Key ID: CA43827BF7C4DEBA
1 changed files with 1 additions and 1 deletions

View File

@ -154,5 +154,5 @@
ansible.builtin.file:
path: /etc/cron.allow
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'