File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
ansible/roles/deploy-ecs-proxies/tasks Expand file tree Collapse file tree 1 file changed +11
-2
lines changed 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
75+ debug :
76+ msg : " ANSIBLE: use_ecs_tag={{ use_ecs_tag }} TF_VAR_use_ecs_tag={{ use_ecs_tag | ternary('true','false') }}"
77+
7478 - name : terraform plan
75- shell : " TF_VAR_use_ecs_tag={{ use_ecs_tag }} make -C {{ out_dir }}/terraform clean plan args='-no-color -lock-timeout=30m -out tfplan.out'" # noqa 305
79+ 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
7680 register : tfplan
7781 failed_when : tfplan.rc not in (0, 2)
7882 when : not do_not_terraform
7983
84+ - name : print full terraform plan output (lines)
85+ debug :
86+ var : tfplan.stdout_lines
87+ when : tfplan is defined
88+
8089 - name : terraform apply
81- shell : " TF_VAR_use_ecs_tag={{ use_ecs_tag }} make -C {{ out_dir }}/terraform apply-plan args='-no-color -lock-timeout=30m --auto-approve tfplan.out'" # noqa 305
90+ shell : " TF_VAR_use_ecs_tag={{ use_ecs_tag | ternary('true','false') }} make -C {{ out_dir }}/terraform apply-plan args='-no-color -lock-timeout=30m --auto-approve tfplan.out'" # noqa 305
8291 register : tfapply
8392 when : not do_not_terraform
8493
You can’t perform that action at this time.
0 commit comments