solar/bootstrap/playbooks/files/ubuntu-ansible.sh
Jedrzej Nowak 038c46c3e7 Ansible 2.0 support in ansible handlers
All ansible handlers are now using ansible process
instead of python API

Change-Id: I14c06830e52610b41a1c5776a6d6cb8af1651478
Closes-bug: #1534145
2016-02-02 18:06:00 +01:00

12 lines
324 B
Bash
Executable File

#!/bin/sh
# TODO: maybe this is better:
# http://docs.ansible.com/ansible/intro_installation.html#latest-releases-via-apt-ubuntu
sudo apt-get remove -f python-pip
sudo apt-get update
sudo apt-get install -y python-setuptools python-dev autoconf g++
sudo easy_install pip
sudo pip install -U pip
sudo pip install "ansible"