Skip to content

Commit a2c1b35

Browse files
committed
fixing debug use ecs_tag ansible
1 parent 55a63c7 commit a2c1b35

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

ansible/deploy-ecs-proxies.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@
3939
msg: "SERVICE_BASE_PATH not set"
4040
when: not SERVICE_BASE_PATH
4141

42-
- name: debug use_ecs_tag type
43-
debug:
44-
msg: "VALUEDEPLOYYAML={{ use_ecs_tag }} TYPE={{ use_ecs_tag | type_debug }}"
45-
4642
- name: include vars
4743
include_vars:
4844
file: "{{ lookup('env', 'PROXY_VARS_FILE') | expandvars | expanduser | realpath }}"
@@ -57,7 +53,7 @@
5753

5854
- name: debug use_ecs_tag type
5955
debug:
60-
msg: "VALUEDEPLOYYAML={{ use_ecs_tag }} TYPE={{ use_ecs_tag | type_debug }}"
56+
msg: "VALUEDEPLOYYAML={{ use_ecs_tag }} TYPE={{ use_ecs_tag | type_debug }} LENGTH={{ use_ecs_tag | length }}"
6157

6258
roles:
6359
- setup-facts

ansible/roles/deploy-ecs-proxies/templates/terraform/locals.tf

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,6 @@ locals {
4646
ecs_service = [
4747
{% for container in ecs_service %}
4848

49-
# DEBUG: print the boolean value Jinja sees
50-
{% if use_ecs_tag %}
51-
{% set _ = print("DEBUG: use_ecs_tag = TRUE") %}
52-
{% else %}
53-
{% set _ = print("DEBUG: use_ecs_tag = FALSE") %}
54-
{% endif %}
55-
5649
{% set image_tag = (
5750
'${local.account_id}.dkr.ecr.eu-west-2.amazonaws.com/'
5851
+ service_id + '_' + container.name

0 commit comments

Comments
 (0)