ansible-roles/roles/nomad/handlers/main.yml

14 lines
395 B
YAML
Raw Normal View History

2022-07-21 01:00:17 +02:00
---
- name: restart nomad
service: name=nomad state=restarted
when: nomad_service_started is not defined or not nomad_service_started.changed
2022-07-31 23:00:15 +02:00
throttle: 1
2022-07-21 01:00:17 +02:00
- name: reload nomad
service: name=nomad state=reloaded
2022-08-11 17:00:16 +02:00
when: nomad_service_started is not defined or not nomad_service_started.changed
2022-09-02 18:00:22 +02:00
- name: restart consul-template-nomad
service: name=consul-template-nomad state=restarted