Update for el9
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
8a59404c26
commit
b534f067ce
3 changed files with 52 additions and 4 deletions
|
|
@ -12,6 +12,21 @@
|
|||
when:
|
||||
# - ansible_distribution == "OracleLinux"
|
||||
- ansible_distribution != "CentOS"
|
||||
- ansible_distribution_major_version == '8'
|
||||
- name: Install CentOS Stream NFV Openvswitch Repository
|
||||
copy:
|
||||
src: "{{ item }}"
|
||||
dest: "/{{ item }}"
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
with_items:
|
||||
- etc/yum.repos.d/CentOS-9-Stream-NFV-OpenvSwitch.repo
|
||||
- etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-NFV
|
||||
when:
|
||||
# - ansible_distribution == "OracleLinux"
|
||||
- ansible_distribution != "CentOS"
|
||||
- ansible_distribution_major_version == '9'
|
||||
- name: Install CentOS NFV Openvswitch Repository RPM
|
||||
ansible.builtin.package:
|
||||
name: centos-release-nfv-openvswitch
|
||||
|
|
@ -27,12 +42,12 @@
|
|||
- name: Install OpenvSwitch
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- openvswitch2.13
|
||||
- openvswitch2.13-ipsec
|
||||
- openvswitch2.17
|
||||
- openvswitch2.17-ipsec
|
||||
- openvswitch-selinux-extra-policy
|
||||
- python3-openvswitch2.13
|
||||
- python3-openvswitch2.17
|
||||
- NetworkManager-ovs
|
||||
# - network-scripts-openvswitch2.13
|
||||
# - network-scripts-openvswitch2.16
|
||||
state: present
|
||||
# update_cache: yes
|
||||
# when:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue