ansible-tools/gather_facts
2023-05-17 03:02:17 +02:00

13 lines
324 B
Bash
Executable File

#!/bin/bash
ANSIBLE_DIR=/etc/ansible
rm $ANSIBLE_DIR/gathered_facts/*
ansible '!off,linux,windows' -m setup -f 5 --task-timeout 30 --tree $ANSIBLE_DIR/gathered_facts >/dev/null
if [[ -x $ANSIBLE_DIR/bin/dokuwiki_facts ]]; then
$ANSIBLE_DIR/bin/dokuwiki_facts
fi
# vim: set tabstop=4 shiftwidth=4 expandtab smarttab: