Commit 59cd859a authored by Joanne Hugé's avatar Joanne Hugé

playbook/ors: enable and start cron.service

parent feeaf906
......@@ -29,6 +29,9 @@
- name: Install reboot cron
cron: name="Launch ors playbook at reboot" special_time=reboot job='sleep 10 && flock -w 300 /opt/upgrader/ansible.lock -c "cd /opt/upgrader/playbook && PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin ansible-playbook ors.yml -i hosts 2>> /opt/upgrader/startup_ors.log >> /opt/upgrader/startup_ors.log"'
- name: Enable and start cron.service
systemd: name=cron.service enabled=yes state=started
- name: Install rm-tmp-lte script
copy: src=rm-tmp-lte dest={{ install_folder }} owner=root mode=770
......
01a465187b01a1e432de5d68b0b50d92b7b4c5a7d54b7ee114a37f7e35983ec3 -
2771dda4925f3e2343425df08a40868f9af23f200606bc70663051f0470d2e9c -
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