Commit cfae019e authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

slapos_web_deploy: run the ORS playbook under flock

parent 62918ac0
......@@ -15,4 +15,5 @@ ${slapos_install_content}
clear
echo "Starting Ansible playbook:"
ansible-playbook ors.yml -i hosts --connection=local
\ No newline at end of file
mkdir -p /opt/upgrader
flock -n /opt/upgrader/ansible.lock -c "ansible-playbook ors.yml -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