Use nodepool centos and epel mirrors for CI jobs on centos-9

Change-Id: I6eba3763cd4550b1a5fd91a4f894d8f9a88d60b1
This commit is contained in:
Jonathan Rosser 2022-06-08 10:59:42 +01:00
parent 8a27a3c8d3
commit 5c4178f1ab
2 changed files with 3 additions and 3 deletions

View File

@ -77,8 +77,8 @@
vars:
nodepool_overrides:
uca_apt_repo_url: "{{ nodepool_vars.NODEPOOL_UCA_MIRROR }}"
openstack_hosts_centos_mirror_url: "{{ (ansible_facts['distribution_major_version'] < '9') | ternary(nodepool_vars.NODEPOOL_CENTOS_MIRROR, 'http://mirror.centos.org/centos') }}"
centos_epel_mirror: "{{ (ansible_facts['distribution_major_version'] < '9') | ternary(nodepool_vars.NODEPOOL_EPEL_MIRROR, 'http://download.fedoraproject.org/pub/epel') }}"
openstack_hosts_centos_mirror_url: "{{ nodepool_vars.NODEPOOL_CENTOS_MIRROR }}"
centos_epel_mirror: "{{ nodepool_vars.NODEPOOL_EPEL_MIRROR }}"
galera_repo_host: "{{ nodepool_vars.NODEPOOL_MIRROR_HOST }}:8080"
nova_virt_type: 'qemu'
# NOTE(jrosser)

View File

@ -39,7 +39,7 @@
name: systemd_networkd
vars:
systemd_networkd_prefix: "osa_testing"
systemd_networkd_epel_mirror: "{{ (nodepool_vars is defined and ansible_facts['distribution_major_version'] < '9') | ternary(nodepool_vars.NODEPOOL_EPEL_MIRROR, 'http://download.fedoraproject.org/pub/epel') }}"
systemd_networkd_epel_mirror: "{{ (nodepool_vars is defined) | ternary(nodepool_vars.NODEPOOL_EPEL_MIRROR, 'http://download.fedoraproject.org/pub/epel') }}"
systemd_interface_cleanup: true
systemd_run_networkd: true
systemd_netdevs: