writefreely/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Sat, 01 Aug 2020 15:33:24 -0500
changeset 127 e04ea647b185
parent 26 b0e4ad2f4291
permissions -rw-r--r--
Deleted vestigal matrix pihole and jellyfin roles.

---

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