Hi, I'm having problems with permissions accessing files. I have this simple test playbook:
- hosts: all sudo: true tasks: - copy: src=/tmp/root.txt dest=/tmp/pr.txt The file "/tmp/root.txt" is owned by the root user with permissions 600. If I'm using "sudo", why the playbook cannot access the file? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/3e20a53d-8bf8-4ca3-ac13-2531f7e372a7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
