changeset 159 | 05d0cf32e077 |
parent 26 | b0e4ad2f4291 |
child 171 | 534b247bed1c |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/writefreely/server/handlers/main.yaml Sun Jul 04 12:05:24 2021 -0500 @@ -0,0 +1,12 @@ +--- + +- name: reload service + become: yes + systemd: name="writefreely@{{writefreely_instance}}.service" enabled="yes" daemon_reload="yes" + +- name: migrate db + become: yes + become_user: "{{writefreely_user}}" + command: "writefreely db migrate" + args: + chdir: "{{writefreely_dir}}/{{writefreely_instance}}/"