ansible/roles/nomad/handlers/main.yaml
2022-08-30 07:49:09 -05:00

13 lines
245 B
YAML

---
- name: reload nomad
service:
name: "{{ nomad_service_name }}"
state: reloaded
when: nomad_service_enabled
- name: restart nomad
service:
name: "{{ nomad_service_name }}"
state: restarted
when: nomad_service_enabled