From c17f28aafd1f15a8c26835196956c1c209ec5ff3 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sun, 9 Feb 2020 12:08:03 -0600 Subject: Moved roles to top level dir. --- pleroma-otp/handlers/main.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 pleroma-otp/handlers/main.yaml (limited to 'pleroma-otp/handlers') 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" -- cgit v1.2.3