]> git.immae.eu Git - github/fretlink/ansible-clever.git/commitdiff
Merge pull request #40 from gaetanfl/fix_ansible_lint_4.1
authorGaëtan <36162164+gaetanfl@users.noreply.github.com>
Tue, 5 Mar 2019 12:41:58 +0000 (13:41 +0100)
committerGitHub <noreply@github.com>
Tue, 5 Mar 2019 12:41:58 +0000 (13:41 +0100)
fix(lint): ansible lint 4.1.0 compatibiliy

tasks/addon.yml

index cba597267d48df18e7970af87376421d6582e3f0..4bcfb5bb656fb0bd7c90b2624b7985602d97903f 100644 (file)
@@ -1,5 +1,6 @@
 - name: Gather addon information for {{ addon.name }}
   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