
I also missed both the array parens. ;-( Change-Id: If74cc4e0d42112b13e04325d3f7d1579f14f1f23
11 lines
373 B
YAML
11 lines
373 B
YAML
- hosts: localhost
|
|
tasks:
|
|
- name: Verify repository naming scheme
|
|
when: |
|
|
not zj_image.repository | regex_search("".join(["^quay.io/", zuul.project.name, "\\b"]))
|
|
loop: "{{ container_images }}"
|
|
loop_control:
|
|
loop_var: zj_image
|
|
fail:
|
|
msg: "{{ zj_image.repository }} not permitted by ^quay.io/{{ zuul.project.name }}\\b"
|