Fix repo url in healthcheck-infrastructure.yml
Repository may be also available over https. That is why `openstack_repo_protocol` variable should be used instead of hardcoded http://. Change-Id: Ic2d829a6a87746dc746efe54e5e77e0f694cdf3b
This commit is contained in:
parent
555ec6abb7
commit
724caeffd8
|
@ -25,10 +25,12 @@
|
|||
gather_facts: yes
|
||||
vars:
|
||||
repo_requirements_file: "constraints/upper_constraints_cached.txt"
|
||||
vars_files:
|
||||
- "defaults/{{ install_method }}_install.yml"
|
||||
tasks:
|
||||
- name: Check the repo sync file on each repo server
|
||||
uri:
|
||||
url: "http://{{ hostvars[item]['management_address'] }}:{{ repo_server_port }}/{{ repo_requirements_file }}"
|
||||
url: "{{ openstack_repo_protocol }}://{{ hostvars[item]['management_address'] }}:{{ repo_server_port }}/{{ repo_requirements_file }}"
|
||||
with_inventory_hostnames: "{{ groups['repo_all'] }}"
|
||||
when: install_method == 'source'
|
||||
tags:
|
||||
|
|
Loading…
Reference in New Issue