Debian Codegraph @

ansible_collections/community/vmware/README.md

raw
1 # Ansible Collection: community.vmware
2
3 This repo hosts the `community.vmware` Ansible Collection.
4
5 The collection includes the VMware modules and plugins supported by Ansible VMware community to help the management of VMware infrastructure.
6
7 ## Releases and maintenance
8
9 | Release | Status | End of life |
10 | ------: | --------------------------: | ----------: |
11 | 6 | Maintained | Nov 2027 |
12 | 5 | Maintained (bug fixes only) | Nov 2026 |
13 | 4 | Unmaintained | Nov 2025 |
14 | 3 | Unmaintained | Nov 2024 |
15 | 2 | Unmaintained | Nov 2023 |
16 | 1 | Unmaintained | Nov 2022 |
17
18 ## Ansible version compatibility
19
20 This collection has been tested against following Ansible versions: **>=2.19.0**.
21
22 Plugins and modules within a collection may be tested with only specific Ansible versions.
23 A collection may contain metadata that identifies these versions.
24 PEP440 is the schema used to describe the versions of Ansible.
25
26 ## Installation and Usage
27
28 ### Installing the Collection from Ansible Galaxy
29
30 Before using the VMware community collection, you need to install the collection with the `ansible-galaxy` CLI:
31
32 ansible-galaxy collection install community.vmware
33
34 You can also include it in a `requirements.yml` file and install it via `ansible-galaxy collection install -r requirements.yml` using the format:
35
36 ```yaml
37 collections:
38 - name: community.vmware
39 ```
40
41 ### Required Python libraries
42
43 VMware community collection depends on Python 3.9+ and on following third party libraries:
44
45 * [`vcf-sdk`](https://pypi.org/project/vcf-sdk) >=9.0.0.0
46
47 ### Installing required libraries and SDK
48
49 Installing collection does not install any required third party Python libraries or SDKs. You need to install the required Python libraries using following command:
50
51 pip install -r ~/.ansible/collections/ansible_collections/community/vmware/requirements.txt
52
53 If you are working on developing and/or testing VMware community collection, you may want to install additional requirements using following command:
54
55 pip install -r ~/.ansible/collections/ansible_collections/community/vmware/test-requirements.txt
56
57 ## Testing and Development
58
59 If you want to develop new content for this collection or improve what is already here, the easiest way to work on the collection is to clone it into one of the configured [`COLLECTIONS_PATHS`](https://docs.ansible.com/ansible/latest/reference_appendices/config.html#collections-paths), and work on it there.
60
61 - [Guidelines for VMware module development](https://docs.ansible.com/ansible/latest/collections/community/vmware/docsite/dev_guide.html)
62
63 ### Testing with `ansible-test`
64
65 Refer [testing](testing.md) for more information.
66
67 ## Publishing New Version
68
69 Assuming your (local) repository has set `origin` to your GitHub fork and this repository is added as `upstream`:
70
71 Prepare the release:
72 - Make sure your fork is up to date: `git checkout main && git pull && git fetch upstream && git merge upstream/main`.
73 - Run `ansible-playbook tools/prepare_release.yml`. The playbook tries to generate the next minor release automatically, but you can also set the version explicitly with `--extra-vars "version=$VERSION"`. You *will* have to set the version explicitly when publishing a new major release.
74 - Push the created release branch to your GitHub repo (`git push --set-upstream origin prepare_$VERSION_release`) and open a PR for review.
75
76 Push the release:
77 - After the PR has been merged, make sure your fork is up to date: `git checkout main && git pull && git fetch upstream && git merge upstream/main`.
78 - Tag the release: `git tag -s $VERSION`
79 - Push the tag: `git push upstream $VERSION`
80 - Manually `Create release from tag` on GitHub. Copy the changes from the tag instead of generating the release notes.
81
82 Revert the version in `galaxy.yml` back to `null`:
83 - Make sure your fork is up to date: `git checkout main && git pull && git fetch upstream && git merge upstream/main`.
84 - Run `ansible-playbook tools/unset_version.yml`.
85 - Push the created branch to your GitHub repo (`git push --set-upstream origin unset_version_$VERSION`) and open a PR for review.
86
87 ## Communication
88
89 * Join the Ansible forum:
90 * [Get Help](https://forum.ansible.com/c/help/6): get help or help others.
91 * [Posts tagged with 'vmware'](https://forum.ansible.com/tag/vmware): subscribe to participate in VMware-related conversations.
92 * [Ansible VMware Automation Working Group](https://forum.ansible.com/g/ansible-vmware): by joining the team you will automatically get subscribed to the posts tagged with ['vmware'](https://forum.ansible.com/tag/vmware).
93 * [Social Spaces](https://forum.ansible.com/c/chat/4): gather and interact with fellow enthusiasts.
94 * [News & Announcements](https://forum.ansible.com/c/news/5): track project-wide announcements including social events.
95
96 * The Ansible [Bullhorn newsletter](https://docs.ansible.com/ansible/devel/community/communication.html#the-bullhorn): used to announce releases and important changes.
97
98 For more information about communication, see the [Ansible communication guide](https://docs.ansible.com/ansible/devel/community/communication.html).
99
100 ## License
101
102 GNU General Public License v3.0 or later
103
104 See [LICENSE](LICENSE) to see the full text.