fact
This commit is contained in:
@@ -11,3 +11,12 @@
|
||||
- name: Debug Facts Hostname - Unsafe Text
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ ansible_facts['nodename'] }}"
|
||||
|
||||
|
||||
- name: Debug Facts ipv4 - List
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ ansible_facts['all_ipv4_addresses'][0] }}"
|
||||
|
||||
- name: Debug Facts SeLinux Status - Dictionary
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ ansible_facts['selinux']['status'] }}"
|
||||
|
||||
Reference in New Issue
Block a user