Fix EPEL for OracleLinux + Add tcp_wrappers on EL8
This commit is contained in:
parent
e6466839ea
commit
0db0707af4
2 changed files with 15 additions and 1 deletions
|
|
@ -22,6 +22,19 @@
|
||||||
- epel-release
|
- epel-release
|
||||||
when:
|
when:
|
||||||
- ansible_os_family == "RedHat"
|
- ansible_os_family == "RedHat"
|
||||||
|
- not ansible_distribution == "OracleLinux"
|
||||||
|
- not ansible_machine == "armv7l"
|
||||||
|
- not ansible_machine == "armv6l"
|
||||||
|
|
||||||
|
- name: Install EPEL repo definition packages for OracleLinux on x86_64 and aarch64 plateform
|
||||||
|
package:
|
||||||
|
name: "{{ item }}"
|
||||||
|
update_cache: yes
|
||||||
|
state: present
|
||||||
|
with_items:
|
||||||
|
- oracle-epel-release-el8
|
||||||
|
when:
|
||||||
|
- ansible_distribution == "OracleLinux"
|
||||||
- not ansible_machine == "armv7l"
|
- not ansible_machine == "armv7l"
|
||||||
- not ansible_machine == "armv6l"
|
- not ansible_machine == "armv6l"
|
||||||
|
|
||||||
|
|
@ -156,6 +169,6 @@
|
||||||
- not hostsallow.stat.exists
|
- not hostsallow.stat.exists
|
||||||
when:
|
when:
|
||||||
- ansible_os_family == "RedHat"
|
- ansible_os_family == "RedHat"
|
||||||
- ansible_distribution_major_version < '8'
|
# - ansible_distribution_major_version < '8'
|
||||||
tags:
|
tags:
|
||||||
- base
|
- base
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ base_packages:
|
||||||
- wget
|
- wget
|
||||||
- xz
|
- xz
|
||||||
- dnf-automatic
|
- dnf-automatic
|
||||||
|
- tcp_wrappers
|
||||||
|
|
||||||
base_packages_servers:
|
base_packages_servers:
|
||||||
- "@^minimal-environment"
|
- "@^minimal-environment"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue