writefreely/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Sun, 28 Jun 2020 20:56:56 -0500
changeset 55 376bb71909a4
parent 26 b0e4ad2f4291
permissions -rw-r--r--
systemd-resolve disable requires symlink change.

---

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