refs #8025 facts prints all vars
This commit is contained in:
parent
ca8c5a6135
commit
769c09f41f
|
@ -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 }}"
|
||||
|
|
Loading…
Reference in New Issue