Merge "Temporarily disable UCA usage in OpenStack-CI"
This commit is contained in:
commit
a5286ed760
@ -118,6 +118,16 @@
|
|||||||
tags:
|
tags:
|
||||||
- generate_secrets
|
- generate_secrets
|
||||||
|
|
||||||
|
- name: Detect whether the host is an OpenStack-CI host
|
||||||
|
stat:
|
||||||
|
path: /etc/nodepool
|
||||||
|
register: nodepool_dir
|
||||||
|
|
||||||
|
- name: Disable nova using UCA in OpenStack-CI
|
||||||
|
set_fact:
|
||||||
|
nova_uca_enable: False
|
||||||
|
when: nodepool_dir.stat.exists
|
||||||
|
|
||||||
- name: Determine if the host has a global pip config file
|
- name: Determine if the host has a global pip config file
|
||||||
stat:
|
stat:
|
||||||
path: /etc/pip.conf
|
path: /etc/pip.conf
|
||||||
|
@ -98,3 +98,8 @@ apply_security_hardening: true
|
|||||||
## Wheel mirrors for the repo_build to use
|
## Wheel mirrors for the repo_build to use
|
||||||
repo_build_pip_extra_indexes: {{ repo_build_pip_extra_indexes }}
|
repo_build_pip_extra_indexes: {{ repo_build_pip_extra_indexes }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if nova_uca_enable is defined %}
|
||||||
|
## TODO(odyssey4me) Remove this once OpenStack-Infra has UCA mirrors
|
||||||
|
nova_uca_enable: {{ nova_uca_enable }}
|
||||||
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user