writefreely/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Fri, 20 Nov 2020 13:50:42 -0600
changeset 145 7d94a7cab2f6
parent 26 b0e4ad2f4291
permissions -rw-r--r--
Updated minecraft.

---

- 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}}/"