Browse Source

Added cron lines in here

master
dave 8 months ago
parent
commit
b3a9b8fa2a
  1. 2
      albert/ansible-dave.cfg

2
albert/ansible-dave.cfg

@ -1,6 +1,5 @@
## -- this is all the basic ansible config to ensure it can begin pulling configs down.
cd /usr/local/sbin
## -- seems wget was already installed...
#wget https://config.tombstones.org.uk:23000/tombstones/files/raw/branch/master/usr.local.sbin/synch-from-repos.sh
@ -23,6 +22,7 @@ chmod 750 *.sh
## .. but still didn't work. Cronned to run on reboot (as firewallD isn't running)
mkdir -p /var/spool/cron
## .. can use ansible-playbook *.yaml
## also need to cron this...
echo '@reboot * * * * /usr/local/sbin/update-and-apply-ansible.sh albert 2>&1 1>>/var/log/ansible-apply.log ' > /var/spool/cron/root

Loading…
Cancel
Save