Debian 8 - Install Ansible

The simplest (recommended) installation method is to run:

sudo apt-get install ansible -y  

This will install version 1.7.2.
Pip Method

Alternatively you can install from source to get version 2.0.0.

  1. sudo apt-get update
  2. sudo apt-get install python-pip python-dev git -y
  3. sudo pip install PyYAML jinja2 paramiko
  4. git clone https://github.com/ansible/ansible.git
  5. cd ansible
  6. git submodule update --init --recursive
  7. sudo make install
  8. sudo mkdir /etc/ansible
  9. sudo cp ~/ansible/examples/hosts /etc/ansible/.
English
Категория: 
The code has been tested and works
Мультитег: 

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Target Image