aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/consul/handlers/main.yaml
blob: a9de4d14393edf2daa0abff15febc9633c090833 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
# file 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 }}"