♻: add pg role determination to mastodon
This commit is contained in:
12
roles/mastodon/handlers/main.yml
Normal file
12
roles/mastodon/handlers/main.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
|
||||
- name: Restart mastodon
|
||||
ansible.builtin.systemd:
|
||||
name: "{{ item }}"
|
||||
daemon_reload: true
|
||||
state: restarted
|
||||
enabled: true
|
||||
loop:
|
||||
- "mastodon-sidekiq.service"
|
||||
- "mastodon-streaming@4000.service"
|
||||
- "mastodon-web.service"
|
Reference in New Issue
Block a user