aboutsummaryrefslogblamecommitdiffhomepage
path: root/tasks/login.yml
blob: 86ba714718165e9ebca53f48dd03a3c3306e567e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                      

                                       
                                  
                                                 

                                                 
- 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 }}"
    creates: "{{ clever_app_root }}/.clever.json"
  environment:
    CONFIGURATION_FILE: "{{ clever_login_file }}"