aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/login.yml
diff options
context:
space:
mode:
authorPaul Bonaud <paul.bonaud@fretlink.com>2019-02-26 19:18:49 +0100
committerPaul Bonaud <paul.bonaud@fretlink.com>2019-02-26 19:20:13 +0100
commitdd3f7e2915be6d2868244b7f48222e23c0f58355 (patch)
treedb96137410741e0662c1fa5daf25ff0b281677ae /tasks/login.yml
parent9cc6546cdd714afb78b8fec25c8e9c83995f7d0c (diff)
downloadansible-clever-dd3f7e2915be6d2868244b7f48222e23c0f58355.tar.gz
ansible-clever-dd3f7e2915be6d2868244b7f48222e23c0f58355.tar.zst
ansible-clever-dd3f7e2915be6d2868244b7f48222e23c0f58355.zip
login: make sure no existing apps are linked to the clever tools
Diffstat (limited to 'tasks/login.yml')
-rw-r--r--tasks/login.yml5
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: