Skip to content

Commit 2b3d3a8

Browse files
Merge pull request #9 from singleplatform-eng/Py3compatibilityfix
Py3compatibilityfix
2 parents 82a3051 + 4a3a0e0 commit 2b3d3a8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

tasks/install_pip.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
---
2+
- name: Install python3-distutils
3+
package:
4+
name: python3-distutils
5+
when: ansible_distribution_release == 'bionic'
26

37
- name: Download get-pip.py
48
get_url: url=https://bootstrap.pypa.io/get-pip.py dest=/tmp/

templates/pip.conf.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
{% for section,config in python_pip_config.iteritems() | sort %}
1+
{% for section,config in python_pip_config.items() | sort %}
22
[{{section}}]
3-
{% for k,v in config.iteritems() | sort %}
3+
{% for k,v in config.items() | sort %}
44
{% if v is iterable and v is not string %}
55
{{k}} =
66
{% for item in v %}

0 commit comments

Comments
 (0)