writefreely/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Sun, 30 Aug 2020 12:36:30 -0500
changeset 135 5fcc9627e7d3
parent 26 b0e4ad2f4291
permissions -rw-r--r--
Updated minecraft role to 1.16.2

---

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