fead: ability to change ansible repo path

This commit is contained in:
Matthieu Bessat 2025-10-08 01:25:51 +02:00
parent 6357bc6c21
commit aacfa6f922

View file

@ -14,8 +14,9 @@ rm $base/vm_files
ln -s $workdir $base/vm_files
export ANSIBLE_PLAYBOOK="${ANSIBLE_PLAYBOOK:-workstation.yaml}"
export ANSIBLE_REPO="${ANSIBLE_REPO:-$base}"
playbookPath="$base/$ANSIBLE_PLAYBOOK"
playbookPath="$ANSIBLE_REPO/$ANSIBLE_PLAYBOOK"
ansible-playbook $playbookPath \
-v \