Ansible
Shouldn’t --user on command line overwrite ansible_user?
Archives
Ansible Project
Kai_Stian_Olstad
(Kai Stian Olstad)
March 3, 2017, 8:17am
1
Hi
In the host_var file for the server I have ansible_user set like this.
$ cat host_vars/u1.yml
Related topics
Topic
Replies
Views
Activity
Is --user meant to override the remote_user in the playbook? Because it doesn't seem to
Ansible Project
1
19
April 14, 2016
how to specify a user name in an ansible host entry
Ansible Project
ansible-project
2
1
April 17, 2013
Does -u set ansible_ssh_user (Ansible 1.2)
Ansible Project
5
16
July 3, 2013
Obtain the user specified via '-u' cli option
Ansible Project
1
3
February 7, 2017
ansible_user Not being parsed
Ansible Project
2
5
October 1, 2015