Code Update
This commit is contained in:
parent
3618a34c41
commit
1852b1a119
@ -11,9 +11,16 @@ wx-infra(){
|
|||||||
then
|
then
|
||||||
echo "Tag Required"
|
echo "Tag Required"
|
||||||
else
|
else
|
||||||
cd "/home/cwchristerw/Desktop/Work in Progress/Programming/warengroup/infra"
|
if [[ $1 == "init" ]]
|
||||||
ansible-playbook --vault-id warengroup@vault/warengroup playbooks.yml -t $1 $2 $3 $4 $5 $6 $7 $8 $9
|
then
|
||||||
cd "$OLDPWD"
|
cd "/home/cwchristerw/Desktop/Work in Progress/Programming/warengroup/infra"
|
||||||
|
ansible-playbook --vault-id warengroup@vault/warengroup playbooks/init.yml -t $1 $2 $3 $4 $5 $6 $7 $8 $9
|
||||||
|
cd "$OLDPWD"
|
||||||
|
else
|
||||||
|
cd "/home/cwchristerw/Desktop/Work in Progress/Programming/warengroup/infra"
|
||||||
|
ansible-playbook --vault-id warengroup@vault/warengroup playbooks.yml -t $1 $2 $3 $4 $5 $6 $7 $8 $9
|
||||||
|
cd "$OLDPWD"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
13
wx
13
wx
@ -270,9 +270,16 @@ wx-infra(){
|
|||||||
then
|
then
|
||||||
echo "Tag Required"
|
echo "Tag Required"
|
||||||
else
|
else
|
||||||
cd "/home/cwchristerw/Desktop/Work in Progress/Programming/warengroup/infra"
|
if [[ $1 == "init" ]]
|
||||||
ansible-playbook --vault-id warengroup@vault/warengroup playbooks.yml -t $1 $2 $3 $4 $5 $6 $7 $8 $9
|
then
|
||||||
cd "$OLDPWD"
|
cd "/home/cwchristerw/Desktop/Work in Progress/Programming/warengroup/infra"
|
||||||
|
ansible-playbook --vault-id warengroup@vault/warengroup playbooks/init.yml -t $1 $2 $3 $4 $5 $6 $7 $8 $9
|
||||||
|
cd "$OLDPWD"
|
||||||
|
else
|
||||||
|
cd "/home/cwchristerw/Desktop/Work in Progress/Programming/warengroup/infra"
|
||||||
|
ansible-playbook --vault-id warengroup@vault/warengroup playbooks.yml -t $1 $2 $3 $4 $5 $6 $7 $8 $9
|
||||||
|
cd "$OLDPWD"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
Loading…
Reference in New Issue
Block a user