Commit 5082bc0c authored by Rafael Monnerat's avatar Rafael Monnerat

playbook: yum-utils is required to use yum-config-manager

parent a1ca71c0
...@@ -81,6 +81,7 @@ enabled=0 ...@@ -81,6 +81,7 @@ enabled=0
gpgcheck=0 gpgcheck=0
EOF EOF
yum update yum update
yum_install yum-utils
# Enable a bootstrap repo. It is removed after finishing # Enable a bootstrap repo. It is removed after finishing
# the epel-release installation. # the epel-release installation.
yum-config-manager --enable epel-bootstrap yum-config-manager --enable epel-bootstrap
...@@ -110,6 +111,7 @@ enabled=0 ...@@ -110,6 +111,7 @@ enabled=0
gpgcheck=0 gpgcheck=0
EOF EOF
yum update yum update
yum_install yum-utils
yum-config-manager --enable epel-bootstrap yum-config-manager --enable epel-bootstrap
yum_install epel-release || \ yum_install epel-release || \
die $LINENO "Error installing EPEL repo, cannot continue" die $LINENO "Error installing EPEL repo, cannot continue"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment