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
- name: install python-apt
- name: Install python 2 and python-apt
raw: "apt-get update; apt-get install -y python python-apt lsb-release"
tags:
- pythonapt
tags: [ 'python', 'ansible_setup' ]
- name: Install python-software-properties
apt: pkg=python-software-properties state=installed
tags:
- pythonapt
- name: Install software-properties-common on quantal distributions
apt: pkg=software-properties-common state=installed
when: is_quantal
tags:
- pythonapt
apt: pkg=python-software-properties state=present update_cache=yes cache_valid_time=3600
tags: pythonapt

View File

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