writefreely/server/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Sat, 24 Jul 2021 10:29:53 -0500
changeset 170 a20a6d03747f
parent 159 05d0cf32e077
child 171 534b247bed1c
permissions -rw-r--r--
Updated versions: minecraft, miniflux, pleroma, writefreely, ergo-oragono.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
17
41034ea52480 Completed writefreely role
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     1
---
41034ea52480 Completed writefreely role
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     2
41034ea52480 Completed writefreely role
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     3
- name: reload service
41034ea52480 Completed writefreely role
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     4
  become: yes
41034ea52480 Completed writefreely role
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     5
  systemd: name="writefreely@{{writefreely_instance}}.service" enabled="yes" daemon_reload="yes"
26
b0e4ad2f4291 Fix writefreely role to be idempotent.
Luke Hoersten <luke@hoersten.org>
parents: 17
diff changeset
     6
b0e4ad2f4291 Fix writefreely role to be idempotent.
Luke Hoersten <luke@hoersten.org>
parents: 17
diff changeset
     7
- name: migrate db
b0e4ad2f4291 Fix writefreely role to be idempotent.
Luke Hoersten <luke@hoersten.org>
parents: 17
diff changeset
     8
  become: yes
b0e4ad2f4291 Fix writefreely role to be idempotent.
Luke Hoersten <luke@hoersten.org>
parents: 17
diff changeset
     9
  become_user: "{{writefreely_user}}"
b0e4ad2f4291 Fix writefreely role to be idempotent.
Luke Hoersten <luke@hoersten.org>
parents: 17
diff changeset
    10
  command: "writefreely db migrate"
b0e4ad2f4291 Fix writefreely role to be idempotent.
Luke Hoersten <luke@hoersten.org>
parents: 17
diff changeset
    11
  args:
b0e4ad2f4291 Fix writefreely role to be idempotent.
Luke Hoersten <luke@hoersten.org>
parents: 17
diff changeset
    12
    chdir: "{{writefreely_dir}}/{{writefreely_instance}}/"