From dd3f7e2915be6d2868244b7f48222e23c0f58355 Mon Sep 17 00:00:00 2001 From: Paul Bonaud Date: Tue, 26 Feb 2019 19:18:49 +0100 Subject: [PATCH] login: make sure no existing apps are linked to the clever tools --- tasks/login.yml | 5 +++++ 1 file changed, 5 insertions(+) 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 @@ dest: "{{ clever_login_file }}" no_log: true +- name: Make sure no apps are already linked + file: + state: absent + path: "{{ clever_app_root }}/.clever.json" + - name: Link app command: clever link {{ clever_app }} args: -- 2.41.0