Commit 909afb1a authored by Alain Takoudjou's avatar Alain Takoudjou Committed by root

Use environment variables to run uptade in crontab

parent 67384b6c
......@@ -5,7 +5,7 @@
- name: Add a periodical update on the VM
cron: name="Update vm bootstrap"
minute="*/12"
job="/usr/local/bin/vm-bootstrap-update"
job="bash -lc /usr/local/bin/vm-bootstrap-update > /var/log/vm-bootstrap.cron.log"
- name: Check if /opt/slapos.playbook already exists
file: path=/opt/slapos.playbook/ state=directory
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment