add nomad role
This commit is contained in:
12
roles/nomad/handlers/main.yaml
Normal file
12
roles/nomad/handlers/main.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
- 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
|
Reference in New Issue
Block a user