refs #8025 facts prints all vars
This commit is contained in:
parent
ca8c5a6135
commit
769c09f41f
|
@ -2,9 +2,12 @@
|
||||||
hosts: all
|
hosts: all
|
||||||
gather_facts: yes
|
gather_facts: yes
|
||||||
tasks:
|
tasks:
|
||||||
- name: Print all available facts
|
- name: Print ansible facts
|
||||||
debug:
|
debug:
|
||||||
var: ansible_facts
|
var: ansible_facts
|
||||||
|
- name: Print all variables
|
||||||
|
debug:
|
||||||
|
var: vars
|
||||||
- name: Print variable value
|
- name: Print variable value
|
||||||
debug:
|
debug:
|
||||||
msg: "Variable: {{ ansible_fqdn }}"
|
msg: "Variable: {{ ansible_fqdn }}"
|
||||||
|
|
Loading…
Reference in New Issue