129c7522d9
Use case: e.g. dual homed hosts on production en management network The inventory_hostname is the regular host name and matches the dns name on the production network; ansible connects to the host through a management network; the dns name on the management network is standardized and equals ${inventory_hostname}-mgt.mynetwork.com Now this can be configured as the default in group_vars/all: ansible_ssh_host: {{ inventory_hostname + '-mgt.mynetwork.com' }} |
||
---|---|---|
.. | ||
ansible |