Commit 2cb02b74 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

playbook: imt-vm-bootstrap playbook will be called only until success, then it...

playbook: imt-vm-bootstrap playbook will be called only until success, then it is never called again
parent 34e7d4b2
......@@ -35,3 +35,14 @@
- role: logrotate
logrotate_scripts: "{{ logrotate_args }}"
tasks:
- name: Remove periodical call of the ansible playbook
file: path=/etc/cron.d/ansible-vm-bootstrap state=absent
- name: Wait 6 minutes to be sure logs are uploaded
wait_for:
timeout: 360
- name: Remove periodical call of the upload log
file: path=/etc/cron.d/ansible-upload-log state=absent
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