Skip to content

Commit 08de16a

Browse files
committed
Adding handlers
1 parent efcfac4 commit 08de16a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

handlers/main.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
- name: "start celery service"
3+
systemd:
4+
name: "{{item.name}}.service"
5+
state: started
6+
daemon_reload: yes
7+
with_items: "{{celery_services}}"
8+
9+
- name: "restart celery service"
10+
systemd:
11+
name: "{{item.name}}.service"
12+
state: restarted
13+
daemon_reload: yes
14+
with_items: "{{celery_services}}"

0 commit comments

Comments
 (0)