On 12.12.2018 11:22, Yassen Damyanov wrote:
which I would expect if I have no remote_user option set in the config:
$ cat /etc/ansible/ansible.cfg
[global]
inventory = /etc/ansible/hosts
remote_user = root
There is no section called global in ansible.cfg, but you have one
called defaults that takes inventory and remote_user
https://github.com/ansible/ansible/blob/devel/examples/ansible.cfg#L10
--
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 [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/74737d9608dafa9edfa5f2b936b0ac09%40olstad.com.
For more options, visit https://groups.google.com/d/optout.