feat(all): updates some configs #2

Merged
max merged 7 commits from dev into main 2026-08-18 15:41:32 +04:00
2 changed files with 14 additions and 0 deletions
Showing only changes of commit 0daa4a4cf9 - Show all commits
+8
View File
@@ -1,3 +1,11 @@
#!/bin/bash
LOCK_FILE=/tmp/vmn_ansible_lock_file.lock
while [ -f "$LOCK_FILE" ]
do
sleep 1s
done
source .venv/bin/activate
ansible-playbook playbooks/maintain.yaml --vault-pass-file ~/vault_password -i inventory/hosts.yaml --private-key ~/.ssh/ansible_key
+6
View File
@@ -1,5 +1,8 @@
#!/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
@@ -10,3 +13,6 @@ ansible-galaxy collection install -r requirements.yml -p ./collections/
# Install roles
ansible-galaxy role install -r requirements.yml -p ./roles/
# Installation is finished, remove the lock
rm /tmp/vmn_ansible_lock_file.lock