main.yml 433 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
---
# handlers file for ldh_mastodon
- name: restart nginx
  service:
    name: nginx
    state: restarted

- name: restart mastodon-web
  service:
    name: mastodon-web
    state: restarted
    enabled: yes

- name: restart mastodon-sidekiq
  service:
    name: mastodon-sidekiq
    state: restarted
    enabled: yes

- name: restart mastodon-streaming
  service:
    name: mastodon-streaming
    state: restarted
    enabled: yes