Apply fixes
This commit is contained in:
parent
78874bd617
commit
2f50f503e4
4 changed files with 17 additions and 13 deletions
17
tasks.yml
17
tasks.yml
|
|
@ -38,12 +38,9 @@
|
|||
PATH: '/home/{{ app_user }}/.local/bin:{{ poetry_user_path }}'
|
||||
|
||||
- name: install project dependencies
|
||||
command:
|
||||
argv:
|
||||
- 'poetry install'
|
||||
- '--no-dev'
|
||||
args:
|
||||
chdir: '{{ app_dir }}'
|
||||
command: 'poetry install --no-dev'
|
||||
args:
|
||||
chdir: '{{ app_dir }}'
|
||||
environment:
|
||||
PATH: '/home/{{ app_user }}/.local/bin:{{ poetry_user_path }}'
|
||||
|
||||
|
|
@ -53,8 +50,16 @@
|
|||
dest: '{{ app_dir }}/.env'
|
||||
mode: 0600
|
||||
|
||||
- name: create systemd user directory
|
||||
file:
|
||||
path: '{{ systemd_dir }}'
|
||||
state: 'directory'
|
||||
|
||||
- name: copy systemd templates
|
||||
template:
|
||||
src: '{{ item.src }}'
|
||||
dest: '{{ item.dest }}'
|
||||
mode: '{{ item.mode }}'
|
||||
loop:
|
||||
- {
|
||||
src: 'templates/timer.j2',
|
||||
|
|
|
|||
Reference in a new issue