#!/bin/bash
# Reruns the ansible playbook, does nothing else

cd /opt/slapos.playbook
WAIT_TIME=$((1 + RANDOM % 300))
echo "Sleeping for $WAIT_TIME seconds..."
sleep $WAIT_TIME

ansible-playbook {{ startup_playbook_id }}  -i  hosts --connection=local
