diff options
| author | Luke Hoersten <[email protected]> | 2020-07-01 12:16:48 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2020-07-01 12:16:48 -0500 |
| commit | d5a690b1e03a998510d48d2f39d1a224c64d82ff (patch) | |
| tree | 8c0f8cab0b66b2dbced1945799bb11b8cf5901af /pleroma/otp/handlers | |
| parent | 3d9e1d8d39686d3ccffb90ff52bcda399e68bc7c (diff) | |
Split out aws s3 and otp roles.
Diffstat (limited to 'pleroma/otp/handlers')
| -rw-r--r-- | pleroma/otp/handlers/main.yaml | 9 |
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" |
