If this is the start of my playbook:

---
- hosts: all
  remote_user: root

And then I run this command line:

ansible-playbook foo.yml -u ec2-user -vvvv

I still see this in the output:
   
 -o User=root

I would expect the command line to take precedence.

-- 
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/c2e490c1-2dc2-440e-8dcc-3f840dc821c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to