mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 10:25:28 +00:00
fix: Install yum-utils package
`yum-config-manager` is provided by the yum-utils package, thus, install the package as the dependency before using `yum-config-manager`. Signed-off-by: Wen Liang <liangwen12year@gmail.com>
This commit is contained in:
parent
1801ae7870
commit
17922ca6f3
1 changed files with 6 additions and 0 deletions
|
|
@ -21,6 +21,12 @@
|
|||
retries: 6
|
||||
delay: 10
|
||||
|
||||
- name: Install yum-utils package
|
||||
package:
|
||||
state: present
|
||||
name: yum-utils
|
||||
when: ansible_distribution_major_version == '7'
|
||||
|
||||
- name: Enable EPEL 7
|
||||
command: yum-config-manager --enable epel
|
||||
when: ansible_distribution_major_version == '7'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue