Ansible: Default IP address of the remote host Get link Facebook X Pinterest Email Other Apps July 19, 2020 ---- hosts: all tasks: - debug: var=hostvars[inventory_hostname]['ansible_default_ipv4']['address'] - debug: var=hostvars[inventory_hostname]['ansible_default_ipv6']['address'] Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment