On 20. juli 2016 18:05, Gabriel Forster wrote:
I'm not sure where the permission is denied. In the script, I have become
root, so I would think it would run correctly. Any ideas what's gone wrong?
Is it me or something with ansible

The user you login in with, gforster, is not allows to run "su root".

Since you become_method=su the user must have permission to do a su to the become_user when you are using become=yes.

--
Kai Stian Olstad

--
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/578FB37B.90004%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to