Add handlers for restarting mbs poller and workers

This commit is contained in:
Brendan Reilly 2021-01-29 14:26:22 -05:00
parent ad3cefb8a7
commit 86b4680c28

View file

@ -178,3 +178,16 @@
- name: restart chronyd
service: name=chronyd state=restarted
- name: restart mbs poller
systemd:
name: mbs-poller
state: restarted
when: not mbs_frontend
- name: restart mbs workers
systemd:
name: "mbs-worker@{{ item }}"
state: restarted
with_sequence: start=0 end={{ mbs_num_workers - 1 }}
when: not mbs_frontend