From 038633c0f1d78d11920f2d948dba49569acebf91 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 1 Sep 2019 18:14:45 +0300 Subject: [PATCH] Feat(ansible): Add playbook `show_facts` --- playbooks/ansible/show_facts.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 playbooks/ansible/show_facts.yml diff --git a/playbooks/ansible/show_facts.yml b/playbooks/ansible/show_facts.yml new file mode 100644 index 0000000..67f108b --- /dev/null +++ b/playbooks/ansible/show_facts.yml @@ -0,0 +1,6 @@ +- name: Show ansible facts + hosts: "{{ hosts | default('all') }}" + gather_facts: true + tasks: + - debug: + var: ansible_facts -- 2.39.5