Skip to content
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

vmware_vsan_hcl_db: Add initial module #1675

Conversation

p-fruck
Copy link
Contributor

@p-fruck p-fruck commented Mar 14, 2023

SUMMARY

This module can be used to upload the HCL DB to an air-gapped vCenter instance.

ISSUE TYPE
  • New Module Pull Request
COMPONENT NAME

vmware_vsan_hcl_db

ADDITIONAL INFORMATION

@p-fruck
Copy link
Contributor Author

p-fruck commented Mar 14, 2023

Regarding the failed pipeline: Why is it required to have the interpreter set to /usr/bin/python when /usr/bin/env python3 is preferred nowadays?

@mariolenz
Copy link
Collaborator

Regarding the failed pipeline: Why is it required to have the interpreter set to /usr/bin/python when /usr/bin/env python3 is preferred nowadays?

Good question, but I can't answer it. The CI fails because ansible-test sanity fails, and this is part of and maintained by ansible-core. You should ask them.

BTW, shebang says: This does not apply to Ansible modules, which should not be executable and must always use #!/usr/bin/python.

You could also ask on Matrix (#community:ansible.com) or IRC (#ansible-community) to get an answer if you're really interested (see Communicating with the Ansible community). No matter which one, they're bridged AFAIK.

This module can be used to upload the HCL DB to
an airgapped vCenter instance.
@mariolenz
Copy link
Collaborator

recheck

@softwarefactory-project-zuul
Copy link

@mariolenz
Copy link
Collaborator

recheck

Copy link
Collaborator

@mariolenz mariolenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @p-fruck! There are just a few minor changes you should implement.

plugins/modules/vmware_vsan_hcl_db.py Show resolved Hide resolved
plugins/modules/vmware_vsan_hcl_db.py Outdated Show resolved Hide resolved
plugins/modules/vmware_vsan_hcl_db.py Outdated Show resolved Hide resolved
@p-fruck
Copy link
Contributor Author

p-fruck commented Mar 17, 2023

Thanks for the suggestions @mariolenz , I've added them to the PR and will keep them in mind for future modules ;)

Copy link
Collaborator

@mariolenz mariolenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks @p-fruck!

@softwarefactory-project-zuul
Copy link

Build succeeded (gate pipeline).
https://ansible.softwarefactory-project.io/zuul/buildset/22853efb5e29492b8a7714449e232571

✔️ ansible-tox-linters SUCCESS in 8m 31s
✔️ build-ansible-collection SUCCESS in 7m 12s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 7m 14s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 8m 45s
✔️ ansible-test-units-community-vmware-python38 SUCCESS in 4m 51s
✔️ ansible-galaxy-importer SUCCESS in 4m 02s

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit a205c2a into ansible-collections:main Mar 17, 2023
softwarefactory-project-zuul bot pushed a commit that referenced this pull request May 22, 2023
add vmware_vsan_release_catalog module

SUMMARY

This module allows to manually upload the vSAN release catalog to the vCenter which is useful for airgapped environments or other environments where the vCenter cannot directly connect to the VMware cloud service.

ISSUE TYPE


New Module Pull Request

COMPONENT NAME

vmware_vsan_release_catalog
ADDITIONAL INFORMATION
Similar to #1675

Reviewed-by: Mario Lenz <[email protected]>
Reviewed-by: Philipp Fruck <[email protected]>
softwarefactory-project-zuul bot pushed a commit that referenced this pull request Jun 5, 2023
meta/runtime.yml: Add missing modules

SUMMARY
Add missing modules to meta/runtime.yml.
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
runtime.yml
ADDITIONAL INFORMATION
#1675
#1702
#1704
#1736
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants