Commit cd485c6c authored by Joanne Hugé's avatar Joanne Hugé

playbook/ors: fixup! vifib playbook detection

parent bbb6953b
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
cron: name="Launch ors playbook at reboot" special_time=reboot job='sleep 20 && cd /opt/upgrader/playbook && ansible-playbook ors.yml 2>> /opt/upgrader/startup_ors.log >> /opt/upgrader/startup_ors.log' cron: name="Launch ors playbook at reboot" special_time=reboot job='sleep 20 && cd /opt/upgrader/playbook && ansible-playbook ors.yml 2>> /opt/upgrader/startup_ors.log >> /opt/upgrader/startup_ors.log'
- name: Check if vifib playbook is installed - name: Check if vifib playbook is installed
shell: 'crontab -l | grep -A1 "#Ansible: Launch Upgrader with ansible" | tail -n1 | grep -v ors-upgrade | grep -q upgrader' shell: 'crontab -l | grep -A1 "#Ansible: Launch Upgrader with ansible" | grep -v ors-upgrade | grep -q upgrader'
ignore_errors: yes ignore_errors: yes
register: vifib_cron register: vifib_cron
......
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