CHANGE: ensures pulls and updates before running jobs

This commit is contained in:
2026-08-18 16:57:27 +04:00
parent b698108980
commit 04894aef9f
2 changed files with 5 additions and 11 deletions
-6
View File
@@ -1,8 +1,5 @@
#!/bin/bash
# Create a lock file to prevent other scripts from running with old modules
touch /tmp/vmn_ansible_lock_file.lock
source .venv/bin/activate
# Install python packages
@@ -13,6 +10,3 @@ ansible-galaxy collection install -r requirements.yaml -p ./collections/
# Install roles
ansible-galaxy role install -r requirements.yaml -p ./roles/
# Installation is finished, remove the lock
rm /tmp/vmn_ansible_lock_file.lock