From 4c1dca8216b44ebff1f8255718df15bec2495bd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Tue, 11 Jan 2022 16:18:22 +0100 Subject: [PATCH] Update handlers for vault --- project/roles/vault/handlers/main.yml | 5 +++++ project/roles/vault/tasks/main.yml | 1 + 2 files changed, 6 insertions(+) diff --git a/project/roles/vault/handlers/main.yml b/project/roles/vault/handlers/main.yml index b6aa35b..6132c59 100644 --- a/project/roles/vault/handlers/main.yml +++ b/project/roles/vault/handlers/main.yml @@ -2,3 +2,8 @@ - name: reload systemd ansible.builtin.systemd: daemon_reload: yes + +- name: restart vault + ansible.builtin.systemd: + name: vault + state: restarted diff --git a/project/roles/vault/tasks/main.yml b/project/roles/vault/tasks/main.yml index 3a5f7a0..2eb6f2a 100644 --- a/project/roles/vault/tasks/main.yml +++ b/project/roles/vault/tasks/main.yml @@ -5,6 +5,7 @@ dest: /etc/systemd/system/vault.service notify: - reload systemd + - restart vault - meta: flush_handlers