diff --git a/scripts/deploy_containers.sh b/scripts/deploy_containers.sh index 931ca6f..b619db6 100644 --- a/scripts/deploy_containers.sh +++ b/scripts/deploy_containers.sh @@ -12,7 +12,7 @@ if [ ! -z "$new_tasks" ]; then if [[ "$tag" != "_deploy" ]] ; then ansible-playbook main.yml --tags "$tag" --vault-password-file ~/.vault_pass.txt fi - elif [[ "$ansible_tag" == "jade.yml" || "$ansible_tag" == "jackson.yml" ]] ; then + elif [[ "$task" == "host_vars/jade.yml" || "$task" == "host_vars/jackson.yml" ]] ; then ansible-playbook main.yml --tags "caddy_deploy" --vault-password-file ~/.vault_pass.txt fi done