13 lines
324 B
Bash
Executable File
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:
|