From df69466a630586bcb8fca4ab4fa8dcef876a4500 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 16 May 2018 11:01:05 +0200 Subject: [PATCH] library/roles/python-env/tasks/main.yml: python ssl workaround on trusty only. --- python-env/tasks/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python-env/tasks/main.yml b/python-env/tasks/main.yml index ad1bc584..b662967b 100644 --- a/python-env/tasks/main.yml +++ b/python-env/tasks/main.yml @@ -59,5 +59,7 @@ pip: name={{ item.pkg }} version={{ item.version }} with_items: '{{ py_env_versioned_pip_pkgs | default ([]) }}' - when: py_env_install + when: + - py_env_install + - is_trusty tags: [ "python", "py_env", "py_env_pkgs" ]