diff options
-rw-r--r-- | tasks/login.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tasks/login.yml b/tasks/login.yml index 86ba714..f502be1 100644 --- a/tasks/login.yml +++ b/tasks/login.yml | |||
@@ -9,6 +9,11 @@ | |||
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: |