Created
June 28, 2016 20:05
-
-
Save asears/59e6da34228c8ce4334a486960475d44 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
!/bin/bash | |
yum -y update | |
yum -y upgrade centos | |
mkdir -p /opt/ansible | |
cd /opt/ansible/ | |
wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
yum -y install epel-release-6-8.noarch.rpm | |
yum repolist | |
yum -y update && yum -y install ansible | |
# todo dynamic filename | |
yum load-transaction /tmp/yum_save_tx-2016-06-28-13-42DZgWwD.yumtx | |
sudo easy_install pip | |
pip -V | |
cd /etc/ansible/ | |
#vi /etc/ansible/hosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment