refs #8025 facts prints all vars

This commit is contained in:
Juan Ferrer 2025-02-06 10:01:32 +01:00
parent ca8c5a6135
commit 769c09f41f
1 changed files with 4 additions and 1 deletions

View File

@ -2,9 +2,12 @@
hosts: all
gather_facts: yes
tasks:
- name: Print all available facts
- name: Print ansible facts
debug:
var: ansible_facts
- name: Print all variables
debug:
var: vars
- name: Print variable value
debug:
msg: "Variable: {{ ansible_fqdn }}"