File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed
ansible/roles/build-ecs-proxies/tasks Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 4040 failed_when : false
4141 changed_when : false
4242
43+ - debug :
44+ msg :
45+ - " ROLE PATH = {{ role_path }}"
46+ - " BASE DIR = {{ base_dir }}"
47+ - " PWD = {{ lookup('env','PWD') }}"
48+
49+ - name : List contents of the role directory
50+ ansible.builtin.command : " ls -R {{ role_path }}"
51+ register : ls_role
52+ changed_when : false
53+ failed_when : false
54+
55+ - debug :
56+ var : ls_role.stdout_lines
57+
4358- name : Apply lifecycle policy to ecr {{ service_id }}_{{ item }}
4459 ansible.builtin.command :
4560 cmd : >
4661 {{ aws_cmd }} ecr put-lifecycle-policy
4762 --repository-name {{ service_id }}_{{ item }}
4863 --lifecycle-policy-text file://{{ role_path }}/files/ecr_lifecycle.json
4964 when : lifecycle_check.rc != 0 and build_result.rc == 0
50-
51- - debug :
52- msg : " ROLE PATH = {{ role_path }}"
53- - debug :
54- msg : " BASE DIR = {{ base_dir }}"
55-
You can’t perform that action at this time.
0 commit comments