Commit 2bce2cd6 authored by Alain Takoudjou's avatar Alain Takoudjou

Reduce priority of Ansible in re-run mode

parent 50dfdfc5
...@@ -10,4 +10,5 @@ fi ...@@ -10,4 +10,5 @@ fi
echo "Sleeping for $WAIT_TIME seconds..." echo "Sleeping for $WAIT_TIME seconds..."
sleep $WAIT_TIME sleep $WAIT_TIME
ansible-playbook {{ startup_playbook_id }} -i hosts --connection=local # Reduce priority of Ansible rerun
nice -19 chrt --idle 0 ionice -c3 ansible-playbook {{ startup_playbook_id }} -i hosts --connection=local
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