forked from geerlingguy/packer-centos-7
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ansible script for simpler installation.
- Loading branch information
1 parent
72f6040
commit d8abfa4
Showing
1 changed file
with
2 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
#!/bin/bash -eux | ||
|
||
# Install EPEL repository. | ||
rpm -ivh http://mirror.pnl.gov/epel/7/x86_64/e/epel-release-7-5.noarch.rpm | ||
yum -y install epel-release | ||
|
||
# Install Ansible. | ||
yum -y install git python-setuptools gcc sudo libffi-devel python-devel openssl-devel | ||
yum clean all | ||
easy_install pip | ||
pip install ansible | ||
yum -y install ansible |