Unifi-7.5 release doesnt seem to support arm so I held the version at 7.4.
---
- name: reload service
become: yes
systemd: name="writefreely@{{writefreely_instance}}.service" enabled="yes" daemon_reload="yes"
- name: restart service
become: yes
systemd: name="writefreely@{{writefreely_instance}}.service" state="restarted" enabled="yes" daemon_reload="yes"
- name: migrate db
become: yes
become_user: "{{writefreely_user}}"
command: "writefreely db migrate"
args:
chdir: "{{writefreely_dir}}/{{writefreely_instance}}/"