From 6b4b18dac887a74ae6c9f01a30a9ec109ce52690 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Thu, 22 Dec 2022 14:50:26 -0600 Subject: [PATCH] facts: Add PB to force fetching facts Some playbooks/roles require facts from machines other than the target. The `facts.yml` playbook can be used to gather facts from machines without running any other tasks. --- facts.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 facts.yml diff --git a/facts.yml b/facts.yml new file mode 100644 index 0000000..e56e214 --- /dev/null +++ b/facts.yml @@ -0,0 +1,6 @@ +- hosts: all + tasks: + - name: clear facts + meta: clear_facts +- hosts: all + gather_facts: true