writefreely/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Wed, 01 Jul 2020 13:24:46 -0500
changeset 106 50f9047e2439
parent 26 b0e4ad2f4291
permissions -rw-r--r--
Updated minecraft server to 1.16.1

---

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