Skip repo verification for distro install

Installation of repo container is optional for distro setup
and can be safely avoided.
Moreover, required variables for verification are not defined
for the distro install_method, which means that
healthcheck-infrastructure is failing of attempt to resolve
such variables.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/924474
Change-Id: I18ca7870231ca9aa9fda8b116e1d0d7e77d1237b
This commit is contained in:
Jonathan Rosser 2024-07-18 08:45:25 +01:00
parent 0b46e32def
commit 099ac08a9c

View File

@ -91,18 +91,20 @@
- 3
- 100%
tasks:
- name: Setup installation variables
include_role:
name: openstack.osa.install_defaults
defaults_from: "{{ install_method }}"
public: true
vars:
install_method: 'source'
- name: Run check only for source method
when:
- install_method == 'source'
block:
- name: Setup installation variables
include_role:
name: openstack.osa.install_defaults
defaults_from: "{{ install_method }}"
public: true
# Repo release path points to the internal LB vip
- name: Check the presence of upper constraints on your repos and check load balancing
uri:
url: "{{ openstack_repo_url }}/constraints/upper_constraints_cached.txt"
# Repo release path points to the internal LB vip
- name: Check the presence of upper constraints on your repos and check load balancing
uri:
url: "{{ openstack_repo_url }}/constraints/upper_constraints_cached.txt"
tags:
- healthcheck
- healthcheck-repo-use