aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/login.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/login.yml')
-rw-r--r--tasks/login.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tasks/login.yml b/tasks/login.yml
new file mode 100644
index 0000000..0eb310f
--- /dev/null
+++ b/tasks/login.yml
@@ -0,0 +1,15 @@
1- name: Create .clever-cloud directory
2 file:
3 path: "{{ clever_app_confdir }}"
4 state: directory
5
6- name: Fill the login file
7 template:
8 src: cleverlogin.j2
9 dest: "{{ clever_login_file }}"
10 no_log: true
11
12- name: Link app
13 shell: clever link {{ clever_app }}
14 environment:
15 CONFIGURATION_FILE: "{{ clever_login_file }}"