Skip to content

Commit 6d0fe9d

Browse files
committed
ecr lifecycle file loaction
1 parent e323623 commit 6d0fe9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ansible/roles/build-ecs-proxies/tasks/build-container.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767

6868
- name: Read lifecycle policy from the shared file
6969
ansible.builtin.slurp:
70-
src: "{{ playbook_dir }}/../../ecr-lifecycle/ecr_lifecycle.json"
70+
src: "{{ playbook_dir }}/../ecr-lifecycle/ecr_lifecycle.json"
7171
register: desired_policy_raw
7272

7373
- name: Decode lifecycle policy file
@@ -78,7 +78,7 @@
7878
ansible.builtin.command: >
7979
{{ aws_cmd }} ecr put-lifecycle-policy
8080
--repository-name {{ service_id }}_{{ item }}
81-
--lifecycle-policy-text file://{{ playbook_dir }}/../../ecr-lifecycle/ecr_lifecycle.json
81+
--lifecycle-policy-text file://{{ playbook_dir }}/../ecr-lifecycle/ecr_lifecycle.json
8282
when:
8383
- existing_policy_json != desired_policy_json
8484
- env != "prod" or prod_lifecycle_update_allowed

0 commit comments

Comments
 (0)