Last active
December 27, 2015 06:58
-
-
Save hagix9/7284987 to your computer and use it in GitHub Desktop.
CentOS6.4でAnsible Module for Dockerを試す
https://github.com/cove/docker-ansible
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
#Ansibleのインストール | |
rpm -ivh http://ftp.riken.jp/Linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
yum install git -y | |
yum groupinstall "Development tools" -y | |
yum install PyYAML python-jinja2 python2-devel -y | |
yum install python-setuptools python-keyczar python-paramiko sshpass asciidoc -y | |
cd /usr/local/src | |
git clone git://github.com/ansible/ansible.git | |
cd ./ansible | |
make rpm | |
rpm -ivh rpm-build/ansible-1.4-0.git*.el6.noarch.rpm | |
#dockerのインストール | |
https://gist.github.com/hagix9/7286981 | |
#docker-ansibleのインストール | |
cd /usr/local/src | |
git clone https://github.com/dotcloud/docker-py.git | |
cd docker-py | |
sudo python setup.py install | |
cd /tmp | |
curl https://raw.github.com/cove/docker-ansible/master/docker-ansible.py > docker | |
sudo mv docker /usr/share/ansible/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment