Hi,
Look at your /etc/ansible.cfg $HOME/.ansible.cfg in your home or your inventories files, you probably surcharge ansible_ssh_common_args somewhere !
Regards,
Hi,
Look at your /etc/ansible.cfg $HOME/.ansible.cfg in your home or your inventories files, you probably surcharge ansible_ssh_common_args somewhere !
Regards,
yes, it’s a sudoer user
this is my inventory file:
X.X.X.X ansible_user=abc ansible_ssh_pass=xyz ansible_ssh_common_args=‘-o StrictHostKeyChecking=no’ ansible_ssh_private_key_file=/home/dfc/.ssh/qmx/idk
What are the ownership and permissions on that file?
Make sure it's clear in your answer whether this means "user abc" or not.
Antony.
-rw-r–r-- are permissions on file. nd ownership is root
Which user are you running the playbook as, on the machine running ansible?
Antony.
After -vvvv option, this coming up. any idea, what's going on??
I know the output below is terribly formatted for reading, but if you do look
through it, you can see that everywhere it is trying to fetch a public key, it
is looking in /root/.ssh, and yet you say that your key is in
/home/dfc/.ssh/qmx/idk
Nowhere in the output below is the string "dfc".
I suspect that is the cause of the problem.