From 42239ef54d64689818746781e4b514426f521e31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Fri, 22 Nov 2024 00:16:35 +0200 Subject: [PATCH] Add secondary Ansible Vault to cwchristerw user --- src/commands/infra.sh | 4 ++-- wx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/infra.sh b/src/commands/infra.sh index ea9844b..fbf753f 100644 --- a/src/commands/infra.sh +++ b/src/commands/infra.sh @@ -20,12 +20,12 @@ wx-infra(){ echo "Tag Required" else cd "$INFRA_PATH" - ansible-playbook --vault-id warengroup@vault/warengroup playbooks/init.yml -t $2 $3 $4 $5 $6 $7 $8 $9 + ansible-playbook --vault-id warengroup@vault/warengroup --vault-id cwchristerw@vault/cwchristerw playbooks/init.yml -t $2 $3 $4 $5 $6 $7 $8 $9 cd "$OLDPWD" fi else cd "$INFRA_PATH" - ansible-playbook --vault-id warengroup@vault/warengroup playbooks.yml -t $1 $2 $3 $4 $5 $6 $7 $8 $9 + ansible-playbook --vault-id warengroup@vault/warengroup --vault-id cwchristerw@vault/cwchristerw playbooks.yml -t $1 $2 $3 $4 $5 $6 $7 $8 $9 cd "$OLDPWD" fi fi diff --git a/wx b/wx index 0c2d29b..e301d56 100755 --- a/wx +++ b/wx @@ -153,12 +153,12 @@ wx-infra(){ echo "Tag Required" else cd "$INFRA_PATH" - ansible-playbook --vault-id warengroup@vault/warengroup playbooks/init.yml -t $2 $3 $4 $5 $6 $7 $8 $9 + ansible-playbook --vault-id warengroup@vault/warengroup --vault-id cwchristerw@vault/cwchristerw playbooks/init.yml -t $2 $3 $4 $5 $6 $7 $8 $9 cd "$OLDPWD" fi else cd "$INFRA_PATH" - ansible-playbook --vault-id warengroup@vault/warengroup playbooks.yml -t $1 $2 $3 $4 $5 $6 $7 $8 $9 + ansible-playbook --vault-id warengroup@vault/warengroup --vault-id cwchristerw@vault/cwchristerw playbooks.yml -t $1 $2 $3 $4 $5 $6 $7 $8 $9 cd "$OLDPWD" fi fi