aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/consul/handlers/main.yaml
blob: d0e0c598a9e989f94a036a8cf73ad6e83422032b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
# file roles/consul/handlers/main.yaml

- name: Restart Nomad
  systemd:
    daemon_reload: true
    enabled: true
    name: "nomad"
    state: "{{ nomad_restart_handler_state }}"

- name: Restart Consul
  systemd:
    daemon_reload: true
    enabled: true
    name: "consul"
    state: "{{ consul_restart_handler_state }}"