The community.windows
collection includes the community plugins supported by Ansible community to help the management of Windows hosts.
This collection has been tested against following Ansible versions: >=2.11.
Plugins and modules within a collection may be tested with only specific Ansible versions. A collection may contain metadata that identifies these versions. PEP440 is the schema used to describe the versions of Ansible.
See the complete list of collection content in the Plugin Index.
Before using the Windows collection, you need to install it with the ansible-galaxy
CLI:
ansible-galaxy collection install community.windows
You can also include it in a requirements.yml
file and install it via ansible-galaxy collection install -r requirements.yml
using the format:
collections:
- name: community.windows
Currently we welcome bugfixes or feature requests to plugins in this collection but no new modules or plugins will be accepted in this collection. If you find problems, please open an issue or create a PR against the Community Windows collection repository. See Contributing to Ansible-maintained collections for details.
See Developing modules for Windows for specifics on Windows modules.
You can also join us on:
IRC - #ansible-windows
irc.libera.chat channel
See the Ansible Community Guide for details on contributing to Ansible.
This collection follows the Ansible project's Code of Conduct. Please read and familiarize yourself with this document.
The tests
directory contains configuration for running sanity and integration tests using ansible-test
.
You can run the collection's test suites with the commands:
ansible-test sanity --docker
ansible-test windows-integration --docker
The current process for publishing new versions of the Windows Core Collection is manual, and requires a user who has access to the community
namespace on Ansible Galaxy and Automation Hub to publish the build artifact.
- Update
galaxy.yml
with the new version for the collection. - Update the
CHANGELOG
:- Make sure you have
antsibull-changelog
installedpip install antsibull-changelog
. - Make sure there are fragments for all known changes in
changelogs/fragments
. - Add a new fragment with the header
release_summary
to give a summary on the release. - Run
antsibull-changelog release
.
- Make sure you have
- Commit the changes and wait for CI to be green
- Create a release with the tag that matches the version number
- The tag is the version number itself, and should not start with anything
- This will trigger a build and publish the collection to Galaxy
- The Zuul job progress will be listed here
After the version is published, verify it exists on the Windows Community Collection Galaxy page.
For more information about Ansible's Windows integration, join the #ansible-windows
channel on libera.chat IRC, and browse the resources in the Windows Working Group Community wiki page.
- Ansible Collection overview
- Ansible User guide
- Ansible Developer guide
- Ansible Community code of conduct
GNU General Public License v3.0 or later
See COPYING to see the full text.