aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/login.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/login.yml')
-rw-r--r--tasks/login.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/tasks/login.yml b/tasks/login.yml
index 383be3a..f502be1 100644
--- a/tasks/login.yml
+++ b/tasks/login.yml
@@ -9,10 +9,15 @@
9 dest: "{{ clever_login_file }}" 9 dest: "{{ clever_login_file }}"
10 no_log: true 10 no_log: true
11 11
12- name: Make sure no apps are already linked
13 file:
14 state: absent
15 path: "{{ clever_app_root }}/.clever.json"
16
12- name: Link app 17- name: Link app
13 command: clever link {{ clever_app }} 18 command: clever link {{ clever_app }}
14 args: 19 args:
15 chdir: "{{ clever_app_root }}" 20 chdir: "{{ clever_app_root }}"
16 changed_when: true 21 creates: "{{ clever_app_root }}/.clever.json"
17 environment: 22 environment:
18 CONFIGURATION_FILE: "{{ clever_login_file }}" 23 CONFIGURATION_FILE: "{{ clever_login_file }}"