From 3739cbcf4d8dd78d913688167e6dbbdaf1b98841 Mon Sep 17 00:00:00 2001 From: Manuel Carrer Date: Wed, 3 Jul 2024 16:17:58 +0200 Subject: [PATCH] Reload config after copy --- ansible/roles/deploy/tasks/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ansible/roles/deploy/tasks/main.yml b/ansible/roles/deploy/tasks/main.yml index 8eaeba98..b3b726c5 100644 --- a/ansible/roles/deploy/tasks/main.yml +++ b/ansible/roles/deploy/tasks/main.yml @@ -36,10 +36,12 @@ # - Start LARD ingestion service # handlers: +# TODO: Do we need to reload first and then restart? - name: Start LARD ingestion service ansible.builtin.systemd: + daemon_reload: true name: lard_ingestion - state: started + state: restarted enabled: yes environment: DBHOST: localhost # "{{ db_host }}"