pleroma/otp/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Mon, 16 Nov 2020 16:43:09 -0600
changeset 144 267d58c0e186
parent 141 0708c9c075fc
permissions -rw-r--r--
Replaced with_items with loop.

---

- name: restart all pleroma instances
  become: yes
  command: "systemctl restart pleroma@*.service"

- name: restart pleroma instance
  become: yes
  systemd: name="pleroma@{{pleroma_instance}}.service" state="restarted" daemon_reload="yes"