[CI] Remove CentOS 7 support leftovers
Change-Id: Ic5837cf0a174e1311b1497abdfde7d9166304bfb
This commit is contained in:
parent
a76929cb88
commit
75d5ba7338
@ -3,35 +3,6 @@
|
|||||||
vars:
|
vars:
|
||||||
ansible_become: true
|
ansible_become: true
|
||||||
tasks:
|
tasks:
|
||||||
# Workaround for:
|
|
||||||
# http://mirror.ord.rax.opendev.org/epel/7/SRPMS/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
|
|
||||||
# See: https://zuul.opendev.org/t/openstack/build/1fa5b2f895c54e7a81a064a2fff5f838/log/centos-7/ansible/tenks-deploy#501
|
|
||||||
- block:
|
|
||||||
- name: Install epel release
|
|
||||||
package:
|
|
||||||
name: epel-release
|
|
||||||
|
|
||||||
- name: Switch the broken mirror
|
|
||||||
ini_file:
|
|
||||||
path: /etc/yum.repos.d/epel.repo
|
|
||||||
section: epel-source
|
|
||||||
option: baseurl
|
|
||||||
value: http://download.fedoraproject.org/pub/epel/$releasever/SRPMS/
|
|
||||||
|
|
||||||
- name: Make sure metalink does not exist
|
|
||||||
ini_file:
|
|
||||||
path: /etc/yum.repos.d/epel.repo
|
|
||||||
section: epel-source
|
|
||||||
option: metalink
|
|
||||||
state: absent
|
|
||||||
|
|
||||||
- name: Install Open vSwitch
|
|
||||||
include_role:
|
|
||||||
name: fkautz.openvswitch-install
|
|
||||||
when:
|
|
||||||
- ansible_facts.os_family == "RedHat"
|
|
||||||
- ansible_facts.distribution_major_version is version(8, '<')
|
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: Install the Delorean repositories
|
- name: Install the Delorean repositories
|
||||||
get_url:
|
get_url:
|
||||||
@ -51,7 +22,6 @@
|
|||||||
state: started
|
state: started
|
||||||
when:
|
when:
|
||||||
- ansible_facts.os_family == "RedHat"
|
- ansible_facts.os_family == "RedHat"
|
||||||
- ansible_facts.distribution_major_version is version(8, '>=')
|
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
@ -69,4 +39,3 @@
|
|||||||
name: openvswitch-switch
|
name: openvswitch-switch
|
||||||
state: started
|
state: started
|
||||||
when: ansible_facts.os_family == "Debian"
|
when: ansible_facts.os_family == "Debian"
|
||||||
|
|
||||||
|
@ -8,7 +8,3 @@
|
|||||||
|
|
||||||
- src: git+{{ stackhpc_libvirt_vm_src_dir }}/.git
|
- src: git+{{ stackhpc_libvirt_vm_src_dir }}/.git
|
||||||
name: stackhpc.libvirt-vm
|
name: stackhpc.libvirt-vm
|
||||||
|
|
||||||
# Roles for CI only
|
|
||||||
- src: https://github.com/stackhpc/ansible-roles-openvswitch-install
|
|
||||||
name: fkautz.openvswitch-install
|
|
||||||
|
Loading…
Reference in New Issue
Block a user