aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/login.yml
diff options
context:
space:
mode:
authorGaƫtan <36162164+gaetanfl@users.noreply.github.com>2018-02-23 18:10:48 +0100
committerGitHub <noreply@github.com>2018-02-23 18:10:48 +0100
commit4fdd3eb566b8b322789f74990181acc243ffb578 (patch)
tree4f0e9ffda46afe5e571d7071dd8e08c34a5b8928 /tasks/login.yml
parent4882b0d33ce42a3b01ac9689d1809e362f314d3f (diff)
parent8692bc2704f2a38890c93577e8f6743e611d5308 (diff)
downloadansible-clever-4fdd3eb566b8b322789f74990181acc243ffb578.tar.gz
ansible-clever-4fdd3eb566b8b322789f74990181acc243ffb578.tar.zst
ansible-clever-4fdd3eb566b8b322789f74990181acc243ffb578.zip
Merge pull request #1 from gaetanfl/first_try
Migrating single tasks file to a galaxy role
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 }}"