Skip to content

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>