author | Luke Hoersten <luke@hoersten.org> |
Sun, 04 Jul 2021 12:05:24 -0500 | |
changeset 159 | 05d0cf32e077 |
parent 26 | writefreely/handlers/main.yaml@b0e4ad2f4291 |
child 171 | 534b247bed1c |
permissions | -rw-r--r-- |
17 | 1 |
--- |
2 |
||
3 |
- name: reload service |
|
4 |
become: yes |
|
5 |
systemd: name="writefreely@{{writefreely_instance}}.service" enabled="yes" daemon_reload="yes" |
|
26
b0e4ad2f4291
Fix writefreely role to be idempotent.
Luke Hoersten <luke@hoersten.org>
parents:
17
diff
changeset
|
6 |
|
b0e4ad2f4291
Fix writefreely role to be idempotent.
Luke Hoersten <luke@hoersten.org>
parents:
17
diff
changeset
|
7 |
- name: migrate db |
b0e4ad2f4291
Fix writefreely role to be idempotent.
Luke Hoersten <luke@hoersten.org>
parents:
17
diff
changeset
|
8 |
become: yes |
b0e4ad2f4291
Fix writefreely role to be idempotent.
Luke Hoersten <luke@hoersten.org>
parents:
17
diff
changeset
|
9 |
become_user: "{{writefreely_user}}" |
b0e4ad2f4291
Fix writefreely role to be idempotent.
Luke Hoersten <luke@hoersten.org>
parents:
17
diff
changeset
|
10 |
command: "writefreely db migrate" |
b0e4ad2f4291
Fix writefreely role to be idempotent.
Luke Hoersten <luke@hoersten.org>
parents:
17
diff
changeset
|
11 |
args: |
b0e4ad2f4291
Fix writefreely role to be idempotent.
Luke Hoersten <luke@hoersten.org>
parents:
17
diff
changeset
|
12 |
chdir: "{{writefreely_dir}}/{{writefreely_instance}}/" |