Add the role that fixes pip on Trusty as dependency of ubuntu-deb-general

This commit is contained in:
Andrea Dell'Amico 2018-07-25 12:23:50 +02:00
parent 83012be82a
commit 72882b275c
2 changed files with 5 additions and 12 deletions

View File

@ -1,18 +1,10 @@
--- ---
# First things first: install the basic requirements with a raw command # First things first: install the basic requirements with a raw command
- name: install python-apt - name: Install python 2 and python-apt
raw: "apt-get update; apt-get install -y python python-apt lsb-release" raw: "apt-get update; apt-get install -y python python-apt lsb-release"
tags: tags: [ 'python', 'ansible_setup' ]
- pythonapt
- name: Install python-software-properties - name: Install python-software-properties
apt: pkg=python-software-properties state=installed apt: pkg=python-software-properties state=present update_cache=yes cache_valid_time=3600
tags: tags: pythonapt
- pythonapt
- name: Install software-properties-common on quantal distributions
apt: pkg=software-properties-common state=installed
when: is_quantal
tags:
- pythonapt

View File

@ -1,6 +1,7 @@
--- ---
dependencies: dependencies:
- role: '../../library/roles/deb-apt-setup' - role: '../../library/roles/deb-apt-setup'
- role: '../../library/roles/ubuntu-python-setup'
- role: '../../library/roles/deb-set-hostname' - role: '../../library/roles/deb-set-hostname'
- role: '../../library/roles/deb-set-locale' - role: '../../library/roles/deb-set-locale'
- role: '../../library/roles/timezone' - role: '../../library/roles/timezone'