Skip to content

Commit 06b3cef

Browse files
author
Kahu Anderson
committed
update deployment script
1 parent 7294015 commit 06b3cef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deployment.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
case $1 in
44
"destroy")
55
ansible-playbook setup-infra.yml -e operation=create -e terraform_workspace=${2:-default}
6-
ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -i host.ini destroy-k8s-cluster.yml -e terraform_workspace=${2:-default}
6+
ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -i host.ini destroy-k8s-cluster.yml -e terraform_workspace=${2:-default}\
7+
-u ${TF_VAR_vm_user} --key-file '${TF_VAR_key_file}'
78
ansible-playbook configure-route53.yml -e operation=destroy -e terraform_workspace=${2:-default}
89
ansible-playbook setup-infra.yml -e operation=destroy -e terraform_workspace=${2:-default}
910
;;

0 commit comments

Comments
 (0)