Skip to content

Commit ebdc3bc

Browse files
committed
changing handler name to 'celery services' since all celery services will be stopped/started/restarted using this handler
1 parent 08de16a commit ebdc3bc

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

handlers/main.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
---
2-
- name: "start celery service"
2+
- name: "start celery services"
33
systemd:
44
name: "{{item.name}}.service"
55
state: started
66
daemon_reload: yes
77
with_items: "{{celery_services}}"
88

9-
- name: "restart celery service"
9+
- name: "restart celery services"
1010
systemd:
1111
name: "{{item.name}}.service"
1212
state: restarted
1313
daemon_reload: yes
1414
with_items: "{{celery_services}}"
15+
16+
- name: "stop celery services"
17+
systemd:
18+
name: "{{item.name}}.service"
19+
state: stopped
20+
daemon_reload: yes
21+
with_items: "{{celery_services}}"

0 commit comments

Comments
 (0)