10 lines
257 B
YAML
10 lines
257 B
YAML
- name: Print facts
|
|
hosts: jump01.lab.cudanet.org
|
|
gather_facts: true
|
|
remote_user: root
|
|
|
|
tasks:
|
|
- name: print facts
|
|
ansible.builtin.debug:
|
|
msg: "The default IPv4 address for {{ inventory_hostname }} is {{ ansible_default_ipv4.address }}"
|