Thank you for your response, actually, embarrassingly, i knew that. i 
apologize but i changed the full path to the file to protect the innocent. 
:)

So, what im saying is that im using full paths, and its still not picking 
up the whole config, it can only connect to the bastion.


On Wednesday, November 14, 2018 at 3:24:32 PM UTC-8, lucky numbersevun 
wrote:
>
> i have a ssh client config that works, and it has Host definition for the 
> bastion at the top, and then all the inside hosts are listed below it in 
> the same file with an appropriate ProxyCommand statement.
>
> i have a directory at ~/repo/some-ansible-repo/
>
> ~/repo/some-ansible-repo/ansible.cfg looks like this:
>
> $ cat ./ansible.cfg
> [defaults]
> inventory = ./hosts
> host_key_checking = false
> deprecation_warnings=false
> vault_password_file = ../vault_password_file_blah
>
> [ssh_connection]
> ssh_args="-F ~/.ssh/dev-cluster.config -o 
> ControlPath=/tmp/ansible-ssh-%h-%p-%r -o ControlMaster=auto -o 
> ControlPersist=30m"
> control_path = ~/.ansible/cp
>
>
> Ansible can connect to the bastion, but it cannot connect to any of the 
> inside hosts unless the client config has:
>
> Include ~/.ssh/dev-cluster.config
>
> Am I doing something wrong with ansible.cfg?
> Why is it ignoring my -F?
>

-- 
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/464d46b6-9b85-4752-a9d2-0e611a87eb09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to