diff options
Diffstat (limited to 'ansible/roles/prechecks/tasks/registry_checks.yml')
| -rw-r--r-- | ansible/roles/prechecks/tasks/registry_checks.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ansible/roles/prechecks/tasks/registry_checks.yml b/ansible/roles/prechecks/tasks/registry_checks.yml new file mode 100644 index 000000000..c6ed8fef3 --- /dev/null +++ b/ansible/roles/prechecks/tasks/registry_checks.yml @@ -0,0 +1,8 @@ +--- +- name: Check if using quay.io/openstack.kolla images + ansible.builtin.assert: + that: not (docker_registry == "quay.io" and docker_namespace == "openstack.kolla") + fail_msg: >- + Kolla images from quay.io/openstack.kolla namespace are meant only for testing purposes, + if you want to continue using them please use --use-test-images CLI argument + when: not kolla_test_images | bool |
