Use automatic token generation

This commit is contained in:
Sonny Bakker 2021-07-19 18:46:17 +02:00
parent 908e5f78cb
commit bcbb224787
3 changed files with 17 additions and 2 deletions

View file

@ -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'