Voici une façon rapide d'installer Ansible 2.0 via les sources Tarball (tar.gz)
Here is a quick method of installing Ansible 2.0 source tarball (tar.gz)
Prérequis être root ou avoir les droits root.
Prerequisites be root or have root privileges.
# apt-get update && apt -y install python-pip python-dev build-essential libssl-dev libffi-dev sudo
# pip install PyYAML && pip install jinja2 && pip install --upgrade setuptools
# pip install paramiko --upgrade && pip install --upgrade pyasn1
*** Download Ansible
# cd /tmp/
# wget http://releases.ansible.com/ansible/ansible-2.0.0.0.tar.gz
# tar xzfv ansible-2.0.0.0.tar.gz
cd ansible-2.0.0.0 && make && make install
*** TEST ANSIBLE
# ansible localhost -m ping
localhost | SUCCESS => {
"changed": false,
"ping": "pong"
}
# ansible --version
ansible 2.0.0.0
config file =
configured module search path = Default w/o overrides
Aucun commentaire:
Enregistrer un commentaire