1
0
mirror of https://github.com/inofix/common-playbooks.git synced 2026-02-05 12:45:29 +01:00
Files
common-playbooks/query-ansible-facts.yml

12 lines
234 B
YAML

#* This playbook simply wrapps the setup module and prints the
#* facts defined for a host.
#* No arguments are needed.
- hosts: all
tasks:
- name: Print Ansible facts
debug:
var: hostvars[inventory_hostname]