Add centos_mirror_url variable.
This variable can define the centos mirror location deploymemnt wide rather than need an override per role. Change-Id: Ibc4f63d84f82ba14b4e432b9c5d78c270071a284
This commit is contained in:
parent
649f385b8c
commit
fddc4fa4db
|
@ -156,7 +156,7 @@ openstack_host_sysstat_cron_mode: '0755'
|
|||
## Default repositories data
|
||||
# Set default mirror for CentOS repositories
|
||||
# NOTE(mhayden): Ensure that the full path to the 'centos' directory is used.
|
||||
openstack_hosts_centos_mirror_url: 'http://mirror.centos.org/centos'
|
||||
openstack_hosts_centos_mirror_url: "{{ centos_mirror_url | default('http://mirror.centos.org/centos') }}"
|
||||
openstack_hosts_rdo_mirror_url: 'https://trunk.rdoproject.org'
|
||||
openstack_hosts_rdo_repo_url: "{{ _openstack_hosts_rdo_repo_url }}"
|
||||
openstack_hosts_rdo_deps_url: "{{ _openstack_hosts_rdo_deps_url }}"
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
features:
|
||||
- |
|
||||
A new variable ``centos_mirror_url`` is introduced to the openstack_hosts
|
||||
role to allow a single deployment wide variable to control the location
|
||||
of the centos package mirror.
|
||||
upgrade:
|
||||
- |
|
||||
Existing use of the variable ``openstack_hosts_centos_mirror_url`` will
|
||||
continue to work as in previous releases, but the new variable
|
||||
``centos_mirror_url`` can be used to define the mirror location for the
|
||||
whole deployment.
|
Loading…
Reference in New Issue