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
20
files/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-NFV
Normal file
20
files/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-NFV
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
mQENBFqMVyYBCACriP6iaXy1GtYgrueyz3U+GmNvNrnugEUAeWicotKvmlqjUKqs
|
||||
s5N+Zr9yjAuwPjruywNVxuhRxTdyvU0PMMh7ZMkeWtJ26GWuCmN9Wf3rU5I2Eljh
|
||||
nzulf06q8E1zYLtggHfk6FOP+lYloCOPZys6BCxeWA8MvRfhbspI0pIhnnIFwHYe
|
||||
71K/ljyfoAsth/WC5kZnqj0LpJRVmp2kooS79LSC1DXTATaaU0RCSY5xINMTjrmD
|
||||
6yA6GwRoAUu3y1IF02jI2Q3NoOht7GtYXDuAr+MaRJBI1oXr2uAbu4Frvcx3zHAy
|
||||
CRbngZNnbh/kssAvAoEHev/qkhVhvbIwVuizABEBAAG0V0NlbnRPUyBORlYgU0lH
|
||||
IChodHRwczovL3dpa2kuY2VudG9zLm9yZy9TcGVjaWFsSW50ZXJlc3RHcm91cC9O
|
||||
RlYpIDxzZWN1cml0eUBjZW50b3Mub3JnPokBOQQTAQIAIwUCWoxXJgIbAwcLCQgH
|
||||
AwIBBhUIAgkKCwQWAgMBAh4BAheAAAoJECFGXiidKnanhrwH/2FOV18yEFpIIps9
|
||||
4GoAaLNtxdLEPbgLuKdu01x1ate2pv3yPQoewmI/AdxBItIA0uqeMX/XPGdBwvAD
|
||||
1lPqpOtDBlaay12EeOTyhxKdTQdkW3Sb1Yhoj01qfNEEm3kaOiHDvIZHqxmj4OfP
|
||||
K20hhI0pw2qm2JMsRtuLBgHo+rUP7gOHy7jbA1kvTc0lkpcQzTKgXM13L1l7tKXm
|
||||
U8P7FKRKKG49IFQXtsbx1lW/vr2phzKVL93xQKeqEy5PauvZr+rIl8LNSVdoBEHc
|
||||
y6f4nNlCyG0G2ZTe68vf4D9cFtITB/ZR6+/hp+2VT7ivT/hj+8721G900P3KjgA+
|
||||
+TXPsDw=
|
||||
=B5Lp
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
13
files/etc/yum.repos.d/CentOS-9-Stream-NFV-OpenvSwitch.repo
Normal file
13
files/etc/yum.repos.d/CentOS-9-Stream-NFV-OpenvSwitch.repo
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# RockyLinux-NFV-OpenvSwitch.repo
|
||||
#
|
||||
# Please see http://wiki.centos.org/SpecialInterestGroup/NFV for more
|
||||
# information
|
||||
|
||||
[centos-nfv-openvswitch]
|
||||
name=CentOS Stream 9 - NFV OpenvSwitch
|
||||
baseurl=http://mirror.stream.centos.org/SIGs/9-stream/nfv/$basearch/openvswitch-2/
|
||||
gpgcheck=1
|
||||
enabled=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-NFV
|
||||
module_hotfixes=1
|
||||
|
||||
|
|
@ -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