aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/consul/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible/roles/consul/handlers')
-rw-r--r--fdio.infra.ansible/roles/consul/handlers/main.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/fdio.infra.ansible/roles/consul/handlers/main.yaml b/fdio.infra.ansible/roles/consul/handlers/main.yaml
index d0e0c598a9..a88ae45d27 100644
--- a/fdio.infra.ansible/roles/consul/handlers/main.yaml
+++ b/fdio.infra.ansible/roles/consul/handlers/main.yaml
@@ -2,14 +2,14 @@
# file roles/consul/handlers/main.yaml
- name: Restart Nomad
- systemd:
+ ansible.builtin.systemd:
daemon_reload: true
enabled: true
name: "nomad"
state: "{{ nomad_restart_handler_state }}"
- name: Restart Consul
- systemd:
+ ansible.builtin.systemd:
daemon_reload: true
enabled: true
name: "consul"