fead: ability to change ansible repo path
This commit is contained in:
parent
6357bc6c21
commit
aacfa6f922
1 changed files with 2 additions and 1 deletions
|
|
@ -14,8 +14,9 @@ rm $base/vm_files
|
||||||
ln -s $workdir $base/vm_files
|
ln -s $workdir $base/vm_files
|
||||||
|
|
||||||
export ANSIBLE_PLAYBOOK="${ANSIBLE_PLAYBOOK:-workstation.yaml}"
|
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 \
|
ansible-playbook $playbookPath \
|
||||||
-v \
|
-v \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue