mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-27 04:41:26 -07:00
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' }} |
||
---|---|---|
.. | ||
callback_plugins | ||
inventory | ||
playbook | ||
runner | ||
utils | ||
__init__.py | ||
callbacks.py | ||
color.py | ||
constants.py | ||
errors.py | ||
module_common.py |