ansible/roles/nomad/handlers/main.yaml

13 lines
245 B
YAML
Raw Permalink Normal View History

2022-08-30 12:49:09 +00:00
---
- 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