From c7b36366a8b741fbc17bb4030c35a22724824cd0 Mon Sep 17 00:00:00 2001 From: Valentin Yonev Date: Tue, 19 Dec 2023 12:34:30 +0200 Subject: [PATCH] Added the missing init for the rest client --- plugins/modules/vcenter_root_password_expiration.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/modules/vcenter_root_password_expiration.py b/plugins/modules/vcenter_root_password_expiration.py index 94cbcfcc2..7becddfe7 100644 --- a/plugins/modules/vcenter_root_password_expiration.py +++ b/plugins/modules/vcenter_root_password_expiration.py @@ -75,7 +75,8 @@ class VcRootPasswordExpiration(VmwareRestClient): - def __init__(self, module: AnsibleModule) -> None: + def __init__(self, module: AnsibleModule): + super(VcRootPasswordExpiration, self).__init__(module) self.module = module self._state = True if self.module.params['state'] == 'present' else False