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

slapos_web_deploy: run the ORS playbook under flock

parent 62918ac0
Pipeline #30121 failed with stage
in 0 seconds
...@@ -15,4 +15,5 @@ ${slapos_install_content} ...@@ -15,4 +15,5 @@ ${slapos_install_content}
clear clear
echo "Starting Ansible playbook:" echo "Starting Ansible playbook:"
ansible-playbook ors.yml -i hosts --connection=local mkdir -p /opt/upgrader
\ No newline at end of file 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