Handle credential repository not being defined in container roles
This attribute is optional. Change-Id: I0875b25d07f5fde0f6c3a3b62c0dac93770ffc49
This commit is contained in:
parent
c14523148a
commit
a3a38ee2a2
@ -10,6 +10,7 @@
|
||||
|
||||
- name: Verify repository permission
|
||||
when: |
|
||||
container_registry_credentials[zj_image.registry].repository is defined and
|
||||
not zj_image.repository | regex_search(container_registry_credentials[zj_image.registry].repository)
|
||||
loop: "{{ container_images }}"
|
||||
loop_control:
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
- name: Verify repository permission
|
||||
when: |
|
||||
container_registry_credentials[zj_image.registry].repository is defined and
|
||||
not zj_image.repository | regex_search(container_registry_credentials[zj_image.registry].repository)
|
||||
loop: "{{ container_images }}"
|
||||
loop_control:
|
||||
|
Loading…
x
Reference in New Issue
Block a user