Add epel repo for el9 arm32 from redsleeve
This commit is contained in:
parent
5d8cb6dad2
commit
2f0d3caceb
1 changed files with 52 additions and 0 deletions
|
|
@ -52,6 +52,22 @@
|
||||||
- ansible_machine == "armv7l"
|
- ansible_machine == "armv7l"
|
||||||
# or ansible_machine == "armv6l"
|
# or ansible_machine == "armv6l"
|
||||||
|
|
||||||
|
- name: Install EPEL repo definition for {{ ansible_os_family }} on ARM 32b plateform
|
||||||
|
ansible.builtin.yum_repository:
|
||||||
|
name: RedSleeve-9-EPEL
|
||||||
|
description: RedSleeve-9-EPEL
|
||||||
|
baseurl: "http://ftp.redsleeve.org/pub/el9/Epel/"
|
||||||
|
enabled: true
|
||||||
|
gpgcheck: false
|
||||||
|
repo_gpgcheck: false
|
||||||
|
#gpgkey: "https://repomd.xml.key"
|
||||||
|
#exclude: kubelet kubeadm kubectl
|
||||||
|
when:
|
||||||
|
- ansible_os_family == "RedHat"
|
||||||
|
- ansible_distribution_major_version == '9'
|
||||||
|
- ansible_machine == "armv7l"
|
||||||
|
or ansible_machine == "armv6l"
|
||||||
|
|
||||||
- name: Install base packages for {{ ansible_os_family }}
|
- name: Install base packages for {{ ansible_os_family }}
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ base_packages }}"
|
name: "{{ base_packages }}"
|
||||||
|
|
@ -216,3 +232,39 @@
|
||||||
- ansible_distribution_major_version < '9'
|
- ansible_distribution_major_version < '9'
|
||||||
tags:
|
tags:
|
||||||
- base
|
- base
|
||||||
|
|
||||||
|
|
||||||
|
- name: Networking
|
||||||
|
when:
|
||||||
|
- false
|
||||||
|
block:
|
||||||
|
- name: Install needed network manager libs
|
||||||
|
ansible.builtin.package:
|
||||||
|
name:
|
||||||
|
- NetworkManager-libnm
|
||||||
|
- nm-connection-editor
|
||||||
|
- libsemanage-python
|
||||||
|
- policycoreutils-python
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: Optionally, at the same time specify IPv6 addresses for the device
|
||||||
|
community.general.nmcli:
|
||||||
|
conn_name: my-eth1
|
||||||
|
ifname: eth1
|
||||||
|
type: ethernet
|
||||||
|
ip4: 192.0.2.100/24
|
||||||
|
gw4: 192.0.2.1
|
||||||
|
ip6: 2001:db8::cafe
|
||||||
|
gw6: 2001:db8::1
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: Create a wireguard connection
|
||||||
|
community.general.nmcli:
|
||||||
|
type: wireguard
|
||||||
|
conn_name: my-wg-provider
|
||||||
|
ifname: mywg0
|
||||||
|
wireguard:
|
||||||
|
listen-port: 51820
|
||||||
|
private-key: my-private-key
|
||||||
|
autoconnect: true
|
||||||
|
state: present
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue