From 3d3287e0767d13b0a81e5936ce9376d58f42e34c Mon Sep 17 00:00:00 2001 From: Clement Delafargue Date: Wed, 1 Jul 2020 11:49:27 +0200 Subject: [PATCH] Remove compatibility code for now-unsupported clever-tools versions --- tasks/addon.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/tasks/addon.yml b/tasks/addon.yml index 328664d..1ee8eff 100644 --- a/tasks/addon.yml +++ b/tasks/addon.yml @@ -1,18 +1,4 @@ -- name: Gather addon information for {{ addon.name }} (clever --version < 1.5.0) - shell: > - set -o pipefail && - clever env | grep {{ addon.env_prefix }} - | sed -e 's/{{ addon.env_prefix }}_//' -e 's/=/: \"/' -e 's/$/\"/' - > {{ clever_app_confdir }}/{{ addon.name }}_env.yml - args: - chdir: "{{ clever_app_root }}" - executable: "bash" - environment: - CONFIGURATION_FILE: "{{ clever_login_file }}" - changed_when: False - when: clever_returned_version.stdout is version('1.5.0', '<') - -- name: Gather addon information for {{ addon.name }} (clever --version >= 1.5.0) +- name: Gather addon information for {{ addon.name }} shell: > set -o pipefail && clever env | grep {{ addon.env_prefix }} @@ -24,7 +10,6 @@ environment: CONFIGURATION_FILE: "{{ clever_login_file }}" changed_when: False - when: clever_returned_version.stdout is version('1.5.0', '>=') - name: Include addon var for {{ addon.name }} include_vars: -- 2.41.0