Last active
December 28, 2015 20:59
-
-
Save equinox79/7561064 to your computer and use it in GitHub Desktop.
CentOSにAnsibleでFabricを入れる(とりあえず動いたレベル)
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-playbook -i ./hosts install_fabric.yaml |
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
[local] | |
localhost |
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
- hosts: localhost | |
connection: local | |
gather_facts: False | |
user: vagrant | |
sudo: yes | |
tasks: | |
- name: python-devel install | |
yum: name="python-devel" state=latest | |
- name: wget install | |
yum: name="wget" state=latest | |
- name: Development tools install | |
yum: name="@Development tools" state=latest | |
- name: download ez_setup.py | |
command: wget http://peak.telecommunity.com/dist/ez_setup.py chdir=/usr/local/src | |
- name: ez_setup.py | |
command: python ez_setup.py chdir=/usr/local/src | |
- name: install pip | |
command: easy_install pip | |
- name: install fabric | |
command: pip install fabric cuisine envassert PyCrypto==2.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CentOS6.4 でpycryptoを最新にすると
と、怒られるので
と、バージョンを指定している
via http://ftakao2007.github.io/blog/2013/04/06/fabric/