From: Jeremy Phelps Date: Wed, 19 Sep 2018 15:29:54 +0000 (-0500) Subject: Disable py34 install on Ubuntu 18.04 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=41b81cda1cd94f1f2702afcac8e152712f31408d;p=ansible%2Froles%2Fpython-install.git Disable py34 install on Ubuntu 18.04 This version of python is not compatible with the default lib-ssl on 18.04 Change-Id: I2e93bcf40f557aa23733449a91d783365f1ffd7d Signed-off-by: Jeremy Phelps --- diff --git a/tasks/main.yml b/tasks/main.yml index 527e639..b27a10d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -25,6 +25,7 @@ version: '{{pyenv_version}}' - name: 'Install Python {{python34_version}}' command: pyenv install -s "$PYTHON34_VERSION" + when: ansible_distribution_version != '18.04' - name: 'Install Python {{python35_version}}' command: pyenv install -s "$PYTHON35_VERSION" - name: 'Install Python {{python36_version}}'