From 1693a4c77aed0478daf122fef987ad9b13219d12 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 13 Jun 2023 09:41:16 +0200 Subject: [PATCH] fact --- 01_facts.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/01_facts.yml b/01_facts.yml index 0cae302..f0aeb00 100644 --- a/01_facts.yml +++ b/01_facts.yml @@ -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'] }}"