don't auto-redeploy caddy
All checks were successful
Deploy Containers / Prepare (push) Successful in 3s
All checks were successful
Deploy Containers / Prepare (push) Successful in 3s
This commit is contained in:
@@ -5,9 +5,6 @@ echo $new_tasks
|
|||||||
echo $1 $2
|
echo $1 $2
|
||||||
|
|
||||||
if [ ! -z "$new_tasks" ]; then
|
if [ ! -z "$new_tasks" ]; then
|
||||||
echo "Redeploying Caddy.."
|
|
||||||
ansible-playbook main.yml --tags "caddy_deploy" --vault-password-file ~/.vault_pass.txt
|
|
||||||
|
|
||||||
for task in "${new_tasks[@]}"; do
|
for task in "${new_tasks[@]}"; do
|
||||||
ansible_tag=$(echo "$task" | awk -F/ '{print $2}')
|
ansible_tag=$(echo "$task" | awk -F/ '{print $2}')
|
||||||
if [[ "$ansible_tag" != "all.yml" && "$ansible_tag" != "all.template.yml" && "$ansible_tag" != "main.yml" ]] ; then
|
if [[ "$ansible_tag" != "all.yml" && "$ansible_tag" != "all.template.yml" && "$ansible_tag" != "main.yml" ]] ; then
|
||||||
|
Reference in New Issue
Block a user