not that fancy and no support for non default port, you could do something
similar with bash:
# function ansible-ssh { ssh $(ansible -m debug -a "msg={{ ansible_ssh_user
}}@{{ ansible_ssh_host }}" $1 | grep msg |awk -F\" '{print $4}');}
# export -f ansible-ssh
# ansible-ssh <inventory-hostname>
esco
--
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/b1ed88aa-35e0-447b-ad26-a73c9f40cfc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.