Cheers Paul! This is now sorted - really appreciate the help - I'm not sure 
how I missed that in the debug output...

On Wednesday, 29 July 2015 12:37:03 UTC+1, Paul Markham wrote:
>
> The problem looks to be that you're trying to ssh as user 'ansible' when 
> running the ansible command, instead of user 'root'. Using '-e 
> remote_user=root' sets a variable, not a configuration option.
>
> Try specifying remote_user=root in your ansible.cfg, setting environment 
> variable $ANSIBLE_REMOTE_USER=root, or using ansible_ssh_user in your 
> inventory.
>

-- 
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/9d189422-a204-4c17-bd7d-40fc6028e127%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to