writefreely/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Mon, 27 Jul 2020 19:44:18 -0500
changeset 125 5a298f7b44f5
parent 26 b0e4ad2f4291
permissions -rw-r--r--
Added dynmap to 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}}/"