From: Gaƫtan Duchaussois Date: Thu, 21 Feb 2019 16:16:23 +0000 (+0100) Subject: use full path for clever helper invocation X-Git-Tag: v1.18~2^2~1 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=fee73e812e656d2214f92396df2f6044b341d7b7;p=github%2Ffretlink%2Fansible-clever.git use full path for clever helper invocation --- 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 @@ - name: Configure Drain when: syslog_server is defined or clever_syslog_server is defined - command: clever-set-drain.sh + command: "{{ ansible_env.HOME }}/{{ clever_user_path }}clever-set-drain.sh" args: chdir: "{{ clever_app_root }}" environment: @@ -9,7 +9,7 @@ - name: Configure Domain when: domain is defined or clever_domain is defined - command: clever-set-domain.sh + command: "{{ ansible_env.HOME }}/{{ clever_user_path }}/clever-set-domain.sh" args: chdir: "{{ clever_app_root }}" environment: