-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mm feature/cluster settings #39
Mm feature/cluster settings #39
Conversation
fe6549c
to
9706e3b
Compare
e0743d6
to
00b9ce7
Compare
ansible-core | ||
|
||
# see the cluster_settings role README.md for an explanation on the <7.0.3 restriction | ||
pyVmomi>=6.7,<7.0.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure that's fine to do that...
What is the reason for that limitation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in 7.0.3 the VMWare team started returning an attribute as None
when they previously left the attribute undefined. One module that this role uses only handles if the attribute is not defined, and throws an excpetion if its None
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -21,6 +21,6 @@ build_ignore: | |||
- .idea | |||
dependencies: { | |||
"vmware.vmware_rest": ">=2.3.1", | |||
"community.vmware": ">=4.2.0", | |||
"community.vmware": ">=4.4.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Above you say 4.3.0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
im not sure if you meant in the README.md or some other location, but I updated that reference to match this one (>=4.4.0)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Adding playbook and role to manage cluster settings for a vCenter cluster.
The user can optionally modify DRS, DRM, vCLS, HA, and vSAN settings on their cluster. Each group of settings can be configured, enabled/disabled, or omitted independently.
I added a playbook for general settings. I will add another playbook specifically for modifying HA status under another ticket.
I was not able to add integration tests for the vSAN settings due to a required SDK that can only be downloaded from VMWare with a customer login. Im making followup tickets to research ways around that