Hello, I have a somewhat similar situation. I want to run different tasks in my playbook as different users. These users are non-root and non-sudoers. I give "remote_user: non-root" for each task, but i get "Authentication Failed" error for each host. I am able to do ssh login to these hosts as the non-root user.
Thanks, Vani -- 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/a8339708-433b-4325-855a-596fb9feff12%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
