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
|
||||
when:
|
||||
- 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 == "armv6l"
|
||||
|
||||
|
|
@ -156,6 +169,6 @@
|
|||
- not hostsallow.stat.exists
|
||||
when:
|
||||
- ansible_os_family == "RedHat"
|
||||
- ansible_distribution_major_version < '8'
|
||||
# - ansible_distribution_major_version < '8'
|
||||
tags:
|
||||
- base
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ base_packages:
|
|||
- wget
|
||||
- xz
|
||||
- dnf-automatic
|
||||
- tcp_wrappers
|
||||
|
||||
base_packages_servers:
|
||||
- "@^minimal-environment"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue