updated to enable epel repo before instaling ansible

parent 5c1cc678
Showing with 1 additions and 1 deletions
...@@ -10,7 +10,7 @@ if [ -e "/usr/bin/apt-get" ]; then ...@@ -10,7 +10,7 @@ if [ -e "/usr/bin/apt-get" ]; then
elif [ -e "/usr/bin/yum" ]; then elif [ -e "/usr/bin/yum" ]; then
echo "-- Installing using yum" echo "-- Installing using yum"
sudo yum -y install epel-release sudo yum -y install epel-release
sudo yum -y install ansible sudo yum -y install ansible --enablerepo=epel
else else
echo "XX Cannot install ansible" echo "XX Cannot install ansible"
exit exit
......
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 sign in to comment