From 835b95a8369c5ce25a90a585b3a5775075a79d1f Mon Sep 17 00:00:00 2001 From: brakkio86 Date: Fri, 10 Nov 2023 07:44:46 +0100 Subject: [PATCH] Add check in handler --- handlers/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/handlers/main.yml b/handlers/main.yml index fd62ce8..4563f29 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -1,7 +1,8 @@ # SPDX-License-Identifier: MIT --- - name: Handler for ad_integration to restart services - service: + ansible.builtin.service: name: "{{ item }}" state: restarted loop: "{{ __ad_integration_services }}" + when: not __ad_integration_test_sssd_config_only | default(false)