aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/login.yml
blob: 383be3a9d13a6732df7d1953f178770b0fd999b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- 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
  command: clever link {{ clever_app }}
  args:
    chdir: "{{ clever_app_root }}"
  changed_when: true
  environment:
    CONFIGURATION_FILE: "{{ clever_login_file }}"