Commit 254ff29f by Alain Takoudjou

vm-bootstrap: On reboot, run ansible

1 parent 0af9bfef
......@@ -8,6 +8,12 @@
job="bash -lc /usr/local/bin/vm-bootstrap-update >> /var/log/vm-bootstrap.log"
cron_file=ansible-vm-bootstrap user="root"
- name: Add on reboot update on the VM
cron: name="reboot run vm bootstrap"
special_time=reboot
job="bash -lc /usr/local/bin/vm-bootstrap-update >> /var/log/vm-bootstrap.log"
cron_file=ansible-vm-bootstrap user="root"
- name: Check if /opt/slapos.playbook already exists
file: path=/opt/slapos.playbook/ state=directory
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!