mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-21 20:59:10 +00:00
More formatting
This commit is contained in:
parent
1d4d249108
commit
9d997a4156
1 changed files with 1 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue