If you don't want to "double the effort", you could try using Ansible
inventory plugin that uses ~/.ssh/config as it's source:
https://github.com/ansible/ansible/blob/devel/plugins/inventory/ssh_config.py

And interactive shell on your server is definitely a very useful thing
while developing your playbook. :)


2014-05-01 17:09 GMT+02:00 Mathieu Martin <[email protected]>:

> Hey all,
>
> Is there an Ansible plugin that would allow me to open a plain old SSH
> terminal to one of the nodes in my Ansible inventory? I'd rather manage
> only one inventory (Ansible's) than two (Ansible + ssh config).
>
> Please don't tell me that logging in is the "wrong way". I understand
> where that would be coming from, and I'm not looking to have that
> discussion ;-)
>
>  Thanks!
>
> Mat
>
> --
>
> Organizer of DevOpsMtl <http://www.devopsmtl.com>. 
> @webmat<http://twitter.com/webmat>
> , LinkedIn <http://ca.linkedin.com/in/mathieumartin/>, 
> blog<http://www.programblings.com?utm_source=email+signature>
> .
>
> --
> 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/CAFC6arKe1s3yoWc0dZj92a57Pm2p5OrbHWQYWUDekeWvfY2fkg%40mail.gmail.com<https://groups.google.com/d/msgid/ansible-project/CAFC6arKe1s3yoWc0dZj92a57Pm2p5OrbHWQYWUDekeWvfY2fkg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAEnKK1wvfcJp8CU0rpPQR%2BFTr53kv84oX_opbUj4%3D2%3DHZ%3DkMbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to