add nomad role

This commit is contained in:
2022-08-30 07:49:09 -05:00
parent d5fd90a9e9
commit 5b55cc1a16
7 changed files with 202 additions and 0 deletions

View 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