Add Rocky UCA for bionic

Bionic now has UCA for Rocky, so we add it.

Change-Id: I7d852f9307232af3c38ec4fa0e6fd37b4b094b61
This commit is contained in:
Jesse Pretorius 2018-08-01 19:17:21 +01:00 committed by Jesse Pretorius (odyssey4me)
parent f76d59e357
commit 6fdac130d9
3 changed files with 14 additions and 5 deletions

View File

@ -139,7 +139,8 @@ openstack_host_sysstat_cron_mode: '0755'
openstack_hosts_centos_mirror_url: 'http://mirror.centos.org/centos'
openstack_hosts_rdo_mirror_url: 'https://trunk.rdoproject.org'
# Ubuntu cloud archive data
uca_repo: "deb {{ uca_apt_repo_url | default('http://ubuntu-cloud.archive.canonical.com/ubuntu') }} {{ ansible_lsb.codename }}-updates/queens main"
uca_repo: "{{ _uca_repo }}"
# Default opensuse mirrors URLs
opensuse_mirror: "http://download.opensuse.org"
opensuse_mirror_obs: "{{ opensuse_mirror }}"

View File

@ -102,3 +102,5 @@ _package_repos:
- repo: "{{ uca_repo }}"
state: present
filename: "uca"
_uca_repo: "deb {{ uca_apt_repo_url | default('http://ubuntu-cloud.archive.canonical.com/ubuntu') }} {{ ansible_lsb.codename }}-updates/queens main"

View File

@ -93,8 +93,14 @@ _package_repos_keys: []
# url:
# state:
# Bionic Rocky has no UCA
_package_list: []
_package_list:
- name: ubuntu-cloud-keyring
state: "{{ openstack_hosts_package_state }}"
# Bionic Rocky has no UCA.
_package_repos: []
_package_repos:
# Implement the current UCA repo configuration
- repo: "{{ uca_repo }}"
state: present
filename: "uca"
_uca_repo: "deb {{ uca_apt_repo_url | default('http://ubuntu-cloud.archive.canonical.com/ubuntu') }} {{ ansible_lsb.codename }}-updates/rocky main"