Commit 6126186f authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

playbook: run format-ims every minute

format-ims must run even if there is no internet but 'slapos node boot'
is waiting for internet' so add it every minute in addition to other
places.

We really need to add support for multiple tun interface in "slapos node format".
parent 26361d2d
Pipeline #36204 failed with stage
in 0 seconds
......@@ -199,3 +199,7 @@
- name: Add format-ims script to cron after slapos node format
lineinfile: dest=/etc/cron.d/slapos-node regexp="(.*)root /opt/slapos/bin/slapos node format(.*)" line="0 * * * * root /opt/slapos/bin/slapos node format >> /opt/slapos/log/slapos-node-format.log 2>&1 ; /opt/amarisoft/format-ims /opt/amarisoft/format-ims.log" state=present
- name: Add format-ims script to cron every minute
lineinfile: dest=/etc/cron.d/slapos-node regexp="(.*)root /opt/amarisoft/format-ims(.*)" line="* * * * * root /opt/amarisoft/format-ims /opt/amarisoft/format-ims.log" state=present
007dcca4a3c2afdb420092f8b3c7795d2a7c1552efac2bc3635d65ddd8a01dff -
033cf3b2d4302ac2c366f64f4969904327622d4e21820777edabeebfcd024270 -
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