I am trying to copy a file to / etc. But I get "msg: Destination / etc not writeable" when I run the playbook. Here is my task for the Playbook. I really appreciate your help.
tasks:
- name: copy rsyslog sudo: yes copy: src: /home/nandakumar.nachimuth/playbooks/rhn_check/rtest.conf dest: /etc/rtest.conf owner: root group: root mode: 0755 ignore_errors: yes
Error
msg: Destination /etc not writable
Note. I provided for the transfer of ssh and sudo when starting the Playbook.
source share