delagate_to ignores --user parameter #359
Labels
ansible
Issues relating to Mitogen for Ansible
bug
Code feature that hinders desired execution outcome
target:v0.2
Bugs to be fixed in 0.2 stable series
user-reported
I'm using the latest master version from Git on Archlinux (Python 3.7.0) and CentOS 6 (Python 2.6.6) as target host.
I have the following task:
which fails like this:
zabbix_server_db_hostname
is set like this:I run the playbook with:
As you can see from the error, it uses
myuser
to ssh into delegate_to host, instead ofroot
.If I set
ansible_user=root
in inventory for the zabbix host, everything works fine.Here is the ansible configuration diff if you need it:
The text was updated successfully, but these errors were encountered: