]> git.immae.eu Git - github/fretlink/ansible-clever.git/commitdiff
fix: Yet again a missing chdir for "clever" command 29/head
authorPaul Bonaud <paul.bonaud@fretlink.com>
Thu, 6 Dec 2018 11:25:16 +0000 (12:25 +0100)
committerPaul Bonaud <paul.bonaud@fretlink.com>
Thu, 6 Dec 2018 11:25:16 +0000 (12:25 +0100)
This is a followup of #26

tasks/addon.yml

index 5e7102c20ccdae357d5fe6a53f12f6c871dc1d25..91ea4a5f64f9e98d4ced60e2638beaad467057cb 100644 (file)
@@ -1,5 +1,7 @@
 - name: Gather addon information for {{ addon.name }}
   shell: "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 }}"
   environment:
     CONFIGURATION_FILE: "{{ clever_login_file }}"
   changed_when: False