From f7dd5848f817bb42cb06eadc5444ec390aa813ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Duchaussois?= Date: Thu, 22 Feb 2018 11:53:19 +0100 Subject: Migrating single tasks file to a galaxy role --- tasks/login.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tasks/login.yml (limited to 'tasks/login.yml') 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 @@ +- name: Create .clever-cloud directory + file: + path: "{{ clever_app_confdir }}" + state: directory + +- name: Fill the login file + template: + src: cleverlogin.j2 + dest: "{{ clever_login_file }}" + no_log: true + +- name: Link app + shell: clever link {{ clever_app }} + environment: + CONFIGURATION_FILE: "{{ clever_login_file }}" -- cgit v1.2.3