Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{% set ide_num = grains['nodename'].split('-')[1].lstrip('0') %}
{{ (10 * ide_num|int) % 60 }} 1,5,9,13,17,21 * * * /usr/local/bin/supervisorctl -c /home/ubuntu/etc/supervisord.conf restart ide:ide-00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.