writefreely/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Thu, 09 Jul 2020 18:49:48 -0500
changeset 122 cde9702e3bff
parent 26 b0e4ad2f4291
permissions -rw-r--r--
Fixed resolv.conf in adguard role.

---

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