diff options
author | Paul Bonaud <paul.bonaud@fretlink.com> | 2018-11-30 15:30:15 +0100 |
---|---|---|
committer | Paul Bonaud <paul.bonaud@fretlink.com> | 2018-11-30 16:31:57 +0100 |
commit | 1dc8c6204aef4692f473c4dbda61bb4e26b1a7c3 (patch) | |
tree | 48e890b1bf5077fdd32abdc4d7057ad608dd5d31 /tasks/login.yml | |
parent | da5c5d4e4f48f3396832ff31c63df2fa5ce71169 (diff) | |
download | ansible-clever-1dc8c6204aef4692f473c4dbda61bb4e26b1a7c3.tar.gz ansible-clever-1dc8c6204aef4692f473c4dbda61bb4e26b1a7c3.tar.zst ansible-clever-1dc8c6204aef4692f473c4dbda61bb4e26b1a7c3.zip |
fix(deploy): Make sure to execute clever commands in app_root dir
Diffstat (limited to 'tasks/login.yml')
-rw-r--r-- | tasks/login.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tasks/login.yml b/tasks/login.yml index bed5dbc..86ba714 100644 --- a/tasks/login.yml +++ b/tasks/login.yml | |||
@@ -12,6 +12,7 @@ | |||
12 | - name: Link app | 12 | - name: Link app |
13 | command: clever link {{ clever_app }} | 13 | command: clever link {{ clever_app }} |
14 | args: | 14 | args: |
15 | chdir: "{{ clever_app_root }}" | ||
15 | creates: "{{ clever_app_root }}/.clever.json" | 16 | creates: "{{ clever_app_root }}/.clever.json" |
16 | environment: | 17 | environment: |
17 | CONFIGURATION_FILE: "{{ clever_login_file }}" | 18 | CONFIGURATION_FILE: "{{ clever_login_file }}" |