ok i havent used Ansible before. Are you saying I don't have to pass any 
switch to use SSH; it uses Paramiko and if it doesn't find a hostname, it 
tries ssh config? it just keeps giving me the error"No hosts matched",

On Tuesday, July 8, 2014 10:37:58 PM UTC-4, Brian Coca wrote:
>
> The $ variables have been dropped from current ansible, they have been 
> deprecated for a loong time. The new way to do the host variables would be 
> writing plays like this:
>
> hosts: "{{server_name}}" 
>
> and pass on the command line as before, there is some more advanced stuff 
> you can do now, like using --limit or doing this
>
> hosts: "{{server_name|default('all')}}" 
>
>
> the ssh config should be picked up normally, I still use it for some 
> bastion jump hosts w/o issues.
> ​
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6935e31d-d83e-4987-9f07-bf0f0937806d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to