From 30c73621fa33cf9cb59d6dc5b572b999cd35d556 Mon Sep 17 00:00:00 2001 From: Omer Anson Date: Sun, 15 Jan 2017 09:38:27 +0200 Subject: [PATCH] Verify systemd is reloaded after galera post install In the galera post install playbook, the systemd configuration files are modified. This change verifies that systemctl daemon-reload is called, so that these files are re-read, and the configuration is up-to-date. Closes-Bug: #1656821 Change-Id: I5d8fcf1f2500146fc86db4dd19cd30aaa1055adb --- tasks/galera_post_install.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/galera_post_install.yml b/tasks/galera_post_install.yml index d056da47..bb34580f 100644 --- a/tasks/galera_post_install.yml +++ b/tasks/galera_post_install.yml @@ -111,3 +111,8 @@ state: absent tags: - galera-config + +- name: Reload the systemd daemon + command: "systemctl daemon-reload" + when: + - ansible_service_mgr == 'systemd'