Browse Source

added Ansible cron in

master
dave 8 months ago
parent
commit
1627c284b3
  1. 3
      albert/cron.cfg

3
albert/cron.cfg

@ -13,5 +13,8 @@ mkdir -p /var/spool/cron
## -- no, this is left out now.
#echo '@reboot /opt/puppetlabs/bin/puppet apply /var/lib/puppet/manifests/puppet-common-albert/00_puppet.pp 2>&1 1>/tmp/puppet-reboot-00puppet.log && /opt/puppetlabs/bin/puppet apply /var/lib/puppet/manifests/puppet-common 2>&1 1>/tmp/puppet-reboot-01common.log ' > /var/spool/cron/root
## -- try to cron the ansible apply here
#echo '*/10 /usr/local/sbin/update-and-apply-ansible.sh 2>&1 1>/var/log/ansible-apply.log ' > /var/spool/cron/root
## need to leave a space at the end

Loading…
Cancel
Save