How can use ansible with the below ssh.cfg
Host test
Hostname 10.35.74.241
User oyarimtepe@syslnx#[email protected]
I am trying to connect machine1. The above settings let me connect with
ssh test
10.35.74.241 is working like a jump host.
I created ansible.cfg as
[defaults]
inventory = hosts
host_key_checking = False
log_path = /path/to//ansible-playbooks/test/out.log
[ssh_connection]
ssh_args = -F /path/to//ansible-playbooks/test/ssh.cfg
The below command didn't worked
ansible-playbook -i hosts test/playbook.yml --limit test
Any idea?
--
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/a7535d90-d70c-457d-a55f-cb4e4066f819%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.