This repository has been archived by the owner on Dec 1, 2023. It is now read-only.
Add module for Nutanix AHV Cluster Refresh #114
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Adds an Ansible module to initiate an AHV cluster metadata refresh
Related Issue
This project only accepts pull requests related to open issues.
#113
Motivation and Context
Allows AHV clusters to be refreshed from Ansible.
How Has This Been Tested?
Tested with Ansible 2.9.6, Rubrik 5.2.2 p2, and Nutanix AOS 5.18.1.2. Cluster metadata refresh appears to complete successfully.
Types of changes
What types of changes does your code introduce? Put an
x
in all the boxes that apply:Checklist:
Go over all the following points, and put an
x
in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!This module requires the most recent devel code for the Python SDK to function. Additionally, using the module with the code from the Galaxy release seems to require a change to the credential import support, shown on line 73. I've commented this out because the modules in the repository now don't use this format. I am not familiar with packaging for Galaxy so not sure where this change gets made in the process.
I'm afraid I'm kind of new at this, so if there is anything else you need from me please let me know. Thanks for your consideration!
EDIT: Forgot the unit test file, sorry.