1
0
mirror of https://git.lapiole.org/dani/ansible-roles.git synced 2025-04-26 07:05:19 +02:00
2022-09-02 18:00:22 +02:00

14 lines
395 B
YAML

---
- name: restart nomad
service: name=nomad state=restarted
when: nomad_service_started is not defined or not nomad_service_started.changed
throttle: 1
- name: reload nomad
service: name=nomad state=reloaded
when: nomad_service_started is not defined or not nomad_service_started.changed
- name: restart consul-template-nomad
service: name=consul-template-nomad state=restarted