From 4ecafc564da20815ba33d1a8109a35f9c233cb02 Mon Sep 17 00:00:00 2001 From: Alex Willmer Date: Thu, 27 Feb 2025 00:02:23 +0000 Subject: [PATCH] ci: Use command: true as noop handler meta: noop failed on older Ansibles (e.g. 2.3) --- tests/image_prep/roles/sshd_container/handlers/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/image_prep/roles/sshd_container/handlers/main.yml b/tests/image_prep/roles/sshd_container/handlers/main.yml index cc7b9166..79902ed6 100644 --- a/tests/image_prep/roles/sshd_container/handlers/main.yml +++ b/tests/image_prep/roles/sshd_container/handlers/main.yml @@ -1,2 +1,4 @@ - name: Restart sshd - meta: noop + command: "true" + changed_when: false + check_mode: false