diff --git a/ansible/roles/prechecks/tasks/service_checks.yml b/ansible/roles/prechecks/tasks/service_checks.yml index e11a252f38..d40d13b8da 100644 --- a/ansible/roles/prechecks/tasks/service_checks.yml +++ b/ansible/roles/prechecks/tasks/service_checks.yml @@ -31,3 +31,11 @@ Kolla. Please disable it before proceeding. when: - nscd_status.rc == 0 + +- name: Checking internal and external VIP addresses differ + run_once: True + local_action: fail msg='kolla_external_vip_address and kolla_internal_vip_address must not be the same when TLS is enabled' + changed_when: false + when: + - kolla_enable_tls_external | bool + - kolla_external_vip_address == kolla_internal_vip_address