Add missing files & finish TODO's
This commit is contained in:
parent
27a88a719f
commit
3918c63751
6 changed files with 58 additions and 6 deletions
|
|
@ -57,18 +57,23 @@
|
|||
environment:
|
||||
PATH: "/home/{{ app_user }}/.local/bin:{{ poetry_user_path }}"
|
||||
|
||||
# TODO add service/timer
|
||||
- name: copy environment file
|
||||
template:
|
||||
src: "env.j2"
|
||||
dest: "{{ app_dir }}/.env"
|
||||
mode: 0600
|
||||
|
||||
- name: copy systemd templates
|
||||
template:
|
||||
loop:
|
||||
- {
|
||||
src: "timer.j2",
|
||||
dest: "{{ systemd_dir }}/transip_client.timer",
|
||||
dest: "{{ systemd_dir }}/transip-client.timer",
|
||||
mode: "0644",
|
||||
}
|
||||
- {
|
||||
src: "service.j2",
|
||||
dest: "{{ systemd_dir }}/transip_client.service",
|
||||
dest: "{{ systemd_dir }}/transip-client.service",
|
||||
mode: "0644",
|
||||
}
|
||||
notify: enable transip_client timer
|
||||
notify: enable transip-client timer
|
||||
|
|
|
|||
Reference in a new issue