Use automatic token generation
This commit is contained in:
parent
908e5f78cb
commit
bcbb224787
3 changed files with 17 additions and 2 deletions
11
tasks.yml
11
tasks.yml
|
|
@ -45,6 +45,17 @@
|
|||
environment:
|
||||
PATH: '/home/{{ app_user }}/.local/bin:{{ poetry_user_path }}'
|
||||
|
||||
- name: create ssh directory
|
||||
file:
|
||||
path: '{{ private_key_dir }}'
|
||||
state: 'directory'
|
||||
|
||||
- name: copy private key
|
||||
copy:
|
||||
src: 'files/transip-client.key'
|
||||
dest: '{{ private_key_dir }}/{{ private_key_name }}'
|
||||
mode: 0600
|
||||
|
||||
- name: copy environment file
|
||||
template:
|
||||
src: 'templates/env.j2'
|
||||
|
|
|
|||
Reference in a new issue