2023-07-03 12:00:08 +02:00

18 lines
459 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
- name: systemd-tmpfiles
command: systemd-tmpfiles --create