diff --git a/plugins/modules/ipavault.py b/plugins/modules/ipavault.py
index 01574c7b369abd2f629b9ba4109c2978e528164c..46d053bbfd14201f804869d546b623241220127d 100644
--- a/plugins/modules/ipavault.py
+++ b/plugins/modules/ipavault.py
@@ -525,7 +525,7 @@ def check_encryption_params(  # pylint: disable=unused-argument
 
         if (
             salt is not None
-            and not(
+            and not (
                 any([password, password_file])
                 and any([new_password, new_password_file])
             )