Closed EmptyByte closed 5 hours ago
In most roles if the following variable is set to true:
# Allow artifactory user to create crontab rules artifactory_allow_crontab: false
Then you may face:
FAILED! => {"changed": false, "msg": "Destination /etc/cron.allow does not exist !", "rc": 257}
Because the following task:
- name: Allow using crontab ansible.builtin.lineinfile: path: /etc/cron.allow line: "{{ artifactory_user }}" state: present when: artifactory_allow_crontab
Is missing:
create: true
@EmptyByte Thanks for raising this issue , Would you mind raising this as a Pull Request, Happy to take this in upcoming releases :)
In most roles if the following variable is set to true:
Then you may face:
Because the following task:
Is missing: