Merge "Install yum on CentOS8/Fedora"
This commit is contained in:
commit
6ec9128c50
@ -74,6 +74,11 @@
|
|||||||
- ruby-devel
|
- ruby-devel
|
||||||
- zlib-devel
|
- zlib-devel
|
||||||
|
|
||||||
|
- name: Install yum (Fedora or CentOS/RHEL>=8)
|
||||||
|
dnf:
|
||||||
|
name: yum
|
||||||
|
become: true
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- ansible_os_family == 'RedHat'
|
- ansible_os_family == 'RedHat'
|
||||||
- ansible_distribution == "Fedora" or ansible_distribution_major_version >= "8"
|
- ansible_distribution == "Fedora" or ansible_distribution_major_version >= "8"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user