diff options
author | Gaëtan Duchaussois <gaetan.duchaussois@fretlink.com> | 2019-02-21 17:16:23 +0100 |
---|---|---|
committer | Gaëtan Duchaussois <gaetan.duchaussois@fretlink.com> | 2019-02-21 17:16:23 +0100 |
commit | fee73e812e656d2214f92396df2f6044b341d7b7 (patch) | |
tree | 16904e0658a1c3a1b79dd93ba2a11532350c43fa | |
parent | abde0015f21b63855fb9945040fd1cb77b726381 (diff) | |
download | ansible-clever-fee73e812e656d2214f92396df2f6044b341d7b7.tar.gz ansible-clever-fee73e812e656d2214f92396df2f6044b341d7b7.tar.zst ansible-clever-fee73e812e656d2214f92396df2f6044b341d7b7.zip |
use full path for clever helper invocation
-rw-r--r-- | tasks/deploy.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/deploy.yml b/tasks/deploy.yml index b394e55..dc00b78 100644 --- a/tasks/deploy.yml +++ b/tasks/deploy.yml | |||
@@ -1,6 +1,6 @@ | |||
1 | - name: Configure Drain | 1 | - name: Configure Drain |
2 | when: syslog_server is defined or clever_syslog_server is defined | 2 | when: syslog_server is defined or clever_syslog_server is defined |
3 | command: clever-set-drain.sh | 3 | command: "{{ ansible_env.HOME }}/{{ clever_user_path }}clever-set-drain.sh" |
4 | args: | 4 | args: |
5 | chdir: "{{ clever_app_root }}" | 5 | chdir: "{{ clever_app_root }}" |
6 | environment: | 6 | environment: |
@@ -9,7 +9,7 @@ | |||
9 | 9 | ||
10 | - name: Configure Domain | 10 | - name: Configure Domain |
11 | when: domain is defined or clever_domain is defined | 11 | when: domain is defined or clever_domain is defined |
12 | command: clever-set-domain.sh | 12 | command: "{{ ansible_env.HOME }}/{{ clever_user_path }}/clever-set-domain.sh" |
13 | args: | 13 | args: |
14 | chdir: "{{ clever_app_root }}" | 14 | chdir: "{{ clever_app_root }}" |
15 | environment: | 15 | environment: |