Actually no, the playbook is running as the ansible user so cannot read those directories....
Thanks On Wed, Jul 12, 2017 at 2:26 PM, Kai Stian Olstad < [email protected]> wrote: > On 12. juli 2017 20:11, Anfield wrote: > >> How would I get around this issue on the localhost? I tried adding >> become_user: root and that didnt work either >> > > It must be something with your setup. > > Does this command work for the same user you are running ansible-playbook > with? > > sudo cat /home/{frank,joe,dave}/.ssh/id_rsa.pub > > > -- > Kai Stian Olstad > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Ansible Project" group. > To unsubscribe from this topic, visit https://groups.google.com/d/to > pic/ansible-project/QdZidadGFU0/unsubscribe. > To unsubscribe from this group and all its topics, 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/ms > gid/ansible-project/cd915e7e-f4cf-dcf9-754d-a3d6d2ba2218%40olstad.com. > > For more options, visit https://groups.google.com/d/optout. > -- 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/CAL%3DL0um2iv%3DbD5OnGEq81ipbFyaPCXfdfinVUhNLnmgUMdBqXA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
