File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
roles/deploy-ecs-proxies/tasks Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,10 @@ create-build-env-vars: guard-build_label guard-out_dir
4343 @poetry run ansible-playbook -i local create-build-env-vars.yml
4444
4545deploy-ecs-proxies : guard-account guard-build_label guard-service_id guard-APIGEE_ENVIRONMENT guard-PROXY_VARS_FILE
46- @echo " MAKE DEBUG: use_ecs_tag=${use_ecs_tag} "
46+ @echo " MAKE RAW: use_ecs_tag='${use_ecs_tag} '"
47+ @echo " MAKE LENGTH: $$ {#use_ecs_tag}"
48+ @echo " MAKE BYTES: $( printf ' %s' " ${use_ecs_tag} " | hexdump -C) "
4749 @poetry run ansible-playbook -i local deploy-ecs-proxies.yml \
48- -e " use_ecs_tag=${use_ecs_tag} "
4950
5051deploy-ecs-proxies-retag : guard-build_label guard-service_id guard-PROXY_VARS_FILE
5152 @poetry run ansible-playbook -i local deploy-ecs-proxies-retag.yml
Original file line number Diff line number Diff line change 7171 with_filetree : " {{ '../templates' }}"
7272 when : item.state == 'file'
7373
74- - name : debug use_ecs_tag before terraform
74+ - name : ansible debug use_ecs_tag before terraform
7575 debug :
76- msg : " ANSIBLE: use_ecs_tag={{ use_ecs_tag }} TF_VAR_use_ecs_tag={{ use_ecs_tag | ternary('true','false') }}"
76+ msg : >
77+ ANSIBLE: use_ecs_tag='{{ use_ecs_tag }}'
78+ TYPE={{ use_ecs_tag | type_debug }}
79+ LENGTH={{ use_ecs_tag | length }}
80+ TF_VAR_use_ecs_tag='{{ use_ecs_tag | ternary("true","false") }}'
7781
7882 - name : terraform plan
7983 shell : " TF_VAR_use_ecs_tag={{ use_ecs_tag | ternary('true','false') }} make -C {{ out_dir }}/terraform clean plan args='-no-color -lock-timeout=30m -out tfplan.out'" # noqa 305
You can’t perform that action at this time.
0 commit comments