updated to enable epel repo before instaling ansible

parent 5c1cc678
Showing with 3 additions and 2 deletions
......@@ -10,7 +10,7 @@ if [ -e "/usr/bin/apt-get" ]; then
elif [ -e "/usr/bin/yum" ]; then
echo "-- Installing using yum"
sudo yum -y install epel-release
sudo yum -y install ansible
sudo yum -y install ansible --enablerepo=epel
else
echo "XX Cannot install ansible"
exit
......@@ -30,4 +30,4 @@ elif [ -e "/home/vagrant/sync/playbook.yml" ]; then
else
echo "XX Playbook not found, provision not finished"
exit
fi
fi
\ No newline at end of file
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