From: Oleg Broytman Date: Sun, 1 Sep 2019 15:14:45 +0000 (+0300) Subject: Feat(ansible): Add playbook `show_facts` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=038633c0f1d78d11920f2d948dba49569acebf91;p=ansible.git Feat(ansible): Add playbook `show_facts` --- 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