src.nth.io/

summaryrefslogtreecommitdiff
path: root/pleroma-otp/handlers
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-02-09 12:08:03 -0600
committerLuke Hoersten <[email protected]>2020-02-09 12:08:03 -0600
commitc17f28aafd1f15a8c26835196956c1c209ec5ff3 (patch)
tree471a2637b3d3b7551845af91c86be54586c2d2e5 /pleroma-otp/handlers
parent11746a2c064018a642486b208b2fdcaeae8ea8e5 (diff)
Moved roles to top level dir.
Diffstat (limited to 'pleroma-otp/handlers')
-rw-r--r--pleroma-otp/handlers/main.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/pleroma-otp/handlers/main.yaml b/pleroma-otp/handlers/main.yaml
new file mode 100644
index 0000000..0fad634
--- /dev/null
+++ b/pleroma-otp/handlers/main.yaml
@@ -0,0 +1,9 @@
+---
+
+- name: restart pleroma instance
+ become: yes
+ systemd: name="pleroma@{{pleroma_instance}}.service" state="restarted" daemon_reload="yes"
+
+- name: restart pleroma instance s3 backup
+ become: yes
+ systemd: name="pleroma-s3-backup@{{pleroma_instance}}.service" enabled="yes" daemon_reload="yes"