mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-04 21:24:24 -07:00
(cherry picked from commit c3bdc4b394
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
eb066335f8
commit
ec11d13825
2 changed files with 3 additions and 3 deletions
|
@ -161,9 +161,7 @@ def get_srs(session):
|
|||
|
||||
|
||||
def main():
|
||||
module = AnsibleModule(
|
||||
supports_check_mode=True,
|
||||
)
|
||||
module = AnsibleModule({}, supports_check_mode=True)
|
||||
|
||||
if not HAVE_XENAPI:
|
||||
module.fail_json(changed=False, msg="python xen api required for this module")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue