aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/consul/handlers/main.yaml
blob: a88ae45d278c11e80768caa1be66afc513bde22d (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
  ansible.builtin.systemd:
    daemon_reload: true
    enabled: true
    name: "nomad"
    state: "{{ nomad_restart_handler_state }}"

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