]> git.phdru.name Git - ansible.git/commitdiff
Feat(ansible): Add playbook `show_facts`
authorOleg Broytman <phd@phdru.name>
Sun, 1 Sep 2019 15:14:45 +0000 (18:14 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 1 Sep 2019 15:14:45 +0000 (18:14 +0300)
playbooks/ansible/show_facts.yml [new file with mode: 0644]

diff --git a/playbooks/ansible/show_facts.yml b/playbooks/ansible/show_facts.yml
new file mode 100644 (file)
index 0000000..67f108b
--- /dev/null
@@ -0,0 +1,6 @@
+- name: Show ansible facts
+  hosts: "{{ hosts | default('all') }}"
+  gather_facts: true
+  tasks:
+    - debug:
+        var: ansible_facts