connect
This role saves the connection information for the inventory_hostname and that info can be used to connect th the machine over supported protocols:
- SSH
Requirements
none
Role Variables
Refer to defaults/main.yml for the full list of variables.
Dependencies
none
Example
Manually after including the role:
ssh $(cat /tmp/ansible_connect)
Or with Catapult:
ctp host connect <TAB>
Or with Catapult with custom user root instead of the default ansible_user:
ctp host connect <TAB> -e connect_user=root