diff options
Diffstat (limited to 'fdio.infra.ansible/roles/nomad/handlers')
-rw-r--r-- | fdio.infra.ansible/roles/nomad/handlers/main.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/fdio.infra.ansible/roles/nomad/handlers/main.yaml b/fdio.infra.ansible/roles/nomad/handlers/main.yaml new file mode 100644 index 0000000000..f0bcee9142 --- /dev/null +++ b/fdio.infra.ansible/roles/nomad/handlers/main.yaml @@ -0,0 +1,10 @@ +--- +# file roles/nomad/handlers/main.yaml + +- name: Restart Nomad + systemd: + daemon_reload: true + enabled: true + name: "nomad" + state: "{{ nomad_restart_handler_state }}" + |