Add script for refreshing cached facts
This commit is contained in:
parent
fbe8af9a3b
commit
8e4a7f1777
2 changed files with 10 additions and 0 deletions
4
playbooks/manual/facts.yml
Normal file
4
playbooks/manual/facts.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
- hosts: all
|
||||
gather_facts: true
|
||||
tasks: []
|
6
scripts/update-facts
Executable file
6
scripts/update-facts
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
ANSIBLE_GATHERING=implicit ansible-playbook playbooks/manual/facts.yml
|
Loading…
Add table
Add a link
Reference in a new issue