From ee145c3a24dec42ac710ea7196786b270f7fefd5 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Mon, 15 Jan 2018 15:23:54 +0000 Subject: [PATCH] Use systemd module instead of command This causes linters to break: since ansible 2.4 the systemd module can have only the daemon_reload directive. Change-Id: I84b2dee8ef7e133dce63f587e9fba63cacc56431 --- handlers/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/handlers/main.yml b/handlers/main.yml index db3d7778..5d4f37e3 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -14,7 +14,8 @@ # limitations under the License. - name: Reload systemd daemon - command: "systemctl daemon-reload" + systemd: + daemon_reload: yes notify: - Restart octavia services