From 9d997a415643e9ae46376bbd22e959169d465beb Mon Sep 17 00:00:00 2001 From: quasd Date: Tue, 10 Feb 2026 16:01:17 +0200 Subject: [PATCH] More formatting --- plugins/modules/ipa_host.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/modules/ipa_host.py b/plugins/modules/ipa_host.py index 557172645a..401ec904bf 100644 --- a/plugins/modules/ipa_host.py +++ b/plugins/modules/ipa_host.py @@ -304,10 +304,7 @@ def ensure(module, client): diff = get_host_diff(client, ipa_host, module_host) host_needs_to_be_disabled = ( True - if ( - ipa_host.get("has_keytab", True) - and (state == "disabled" or module.params.get("random_password")) - ) + if (ipa_host.get("has_keytab", True) and (state == "disabled" or module.params.get("random_password"))) else False ) if len(diff) > 0 or host_needs_to_be_disabled: