I am trying to run an Anisble playbook against a server on an account other than the one I am logged on the control machine. I tried to specify an ansible_user in the inventory file according to the documentation on Inventory <http://docs.ansible.com/ansible/intro_inventory.html>, however it does not work the way I expected.
On the other hand adding a remote_user argument to the playbook worked for me. Are the ansible_user in inventory file and remote_user in playbook for different purposed? What is the ansible_user used for? Or why doesn't Ansible observe the setting in the 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 [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/3859dc40-114a-4966-b1c3-e234ffd64cc3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
