summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-10-18 06:04:06 +0000
committerGerrit Code Review <review@openstack.org>2018-10-18 06:04:06 +0000
commit7bf2ddec83d0d54fc0d38609c4c7bb42a2ae716a (patch)
treecb5f0cb2827a378c25dd6fe307c1e10ea741226e
parent422fc1f4adcf47df39401b37dabe030abccd9693 (diff)
parent3d934ebfdaa5f6758198dd6973f34dbf868ab0a8 (diff)
Merge "Limit ensure-python to Debian/Ubuntu use"
-rw-r--r--roles/ensure-python/tasks/main.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/ensure-python/tasks/main.yaml b/roles/ensure-python/tasks/main.yaml
index 7b3a594..01a8cc0 100644
--- a/roles/ensure-python/tasks/main.yaml
+++ b/roles/ensure-python/tasks/main.yaml
@@ -1,5 +1,7 @@
1- name: Install specified version of python interpreter and development files 1- name: Install specified version of python interpreter and development files
2 when: python_version is defined 2 when:
3 - python_version is defined
4 - ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
3 package: 5 package:
4 name: python{{ python_version }}-dev 6 name: python{{ python_version }}-dev
5 state: present 7 state: present