Executing foreman.foreman_scap_client Ansible role using non-root user from Red Hat Satellite to clients fails with "msg": "Destination /etc/cron.d not writable".
Issue
-
Applying the foreman.foreman_scap_client Ansible role using non-root user from Red Hat Satellite to clients fails with following error:
TASK [theforeman.foreman_scap_client : Create cron in /etc/cron.d/] ***************** fatal: [test.example.com]: FAILED! => {"changed": false, "checksum": "fa8d95c919560a73b738520fd360645d2fd91835", "msg": "Destination /etc/cron.d not writable"} PLAY RECAP ************************************************************************** test.example.com : ok=7 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Exit status: 2
Environment
- Red Hat Satellite 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.