Add script for refreshing cached facts

This commit is contained in:
Timo Makinen 2021-09-18 18:28:59 +00:00
parent fbe8af9a3b
commit 8e4a7f1777
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,4 @@
---
- hosts: all
gather_facts: true
tasks: []

6
scripts/update-facts Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
ANSIBLE_GATHERING=implicit ansible-playbook playbooks/manual/facts.yml