File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 1515 SOURCE_COMMIT_ID : " {{ lookup('env', 'SOURCE_COMMIT_ID') }}"
1616 apigee_uri : " https://{{ APIGEE_HOSTNAME }}"
1717 aws_profile : " deploy-{{ APIGEE_ENVIRONMENT | lower }}-{{ service_id }}"
18- use_ecs_tag : " {{ lookup('env','use_ecs_tag') | default('false') }} "
18+
1919
2020 pre_tasks :
2121
4343 include_vars :
4444 file : " {{ lookup('env', 'PROXY_VARS_FILE') | expandvars | expanduser | realpath }}"
4545
46+ - name : load use_ecs_tag from environment
47+ set_fact :
48+ use_ecs_tag : " {{ lookup('env','use_ecs_tag') | default('false') }}"
49+
4650 - name : normalise use_ecs_tag to boolean
4751 set_fact :
4852 use_ecs_tag : " {{ use_ecs_tag | lower == 'true' }}"
4953
50- - name : debug use_ecs_tag
54+ - name : debug use_ecs_tag type
5155 debug :
52- msg : " ANSIBLE DEBUG: use_ecs_tag = {{ use_ecs_tag }}"
56+ msg : " VALUEDEPLOYYAML={{ use_ecs_tag }} TYPE={{ use_ecs_tag | type_debug }}"
57+
5358
5459 roles :
5560 - setup-facts
You can’t perform that action at this time.
0 commit comments