Debian Codegraph @

ansible_collections/community/windows/README.md

raw
1 # Ansible Collection: community.windows
2
3 [![Build Status](https://dev.azure.com/ansible/community.windows/_apis/build/status/CI?branchName=main)](https://dev.azure.com/ansible/community.windows/_build/latest?definitionId=23&branchName=main)
4 [![codecov](https://codecov.io/gh/ansible-collections/community.windows/branch/main/graph/badge.svg)](https://codecov.io/gh/ansible-collections/community.windows)
5
6
7 The `community.windows` collection includes the community plugins supported by Ansible community to help the management of Windows hosts.
8
9 ## Communication
10
11 * Join the Ansible forum:
12 * [Get Help](https://forum.ansible.com/c/help/6): get help or help others.
13 * [Posts tagged with 'windows'](https://forum.ansible.com/tag/windows): subscribe to participate in collection-related conversations.
14 * [Social Spaces](https://forum.ansible.com/c/chat/4): gather and interact with fellow enthusiasts.
15 * [News & Announcements](https://forum.ansible.com/c/news/5): track project-wide announcements including social events.
16
17 * The Ansible [Bullhorn newsletter](https://docs.ansible.com/ansible/devel/community/communication.html#the-bullhorn): used to announce releases and important changes.
18
19 For more information about communication, see the [Ansible communication guide](https://docs.ansible.com/ansible/devel/community/communication.html).
20
21 ## Ansible version compatibility
22
23 This collection has been tested against following Ansible versions: **>=2.16**.
24
25 Plugins and modules within a collection may be tested with only specific Ansible versions.
26 A collection may contain metadata that identifies these versions.
27 PEP440 is the schema used to describe the versions of Ansible.
28
29 ## Changelog
30
31 See [CHANGELOG.rst](https://github.com/ansible-collections/community.windows/blob/main/CHANGELOG.rst) for the release history and changes made to this collection.
32
33 ## Collection Documentation
34
35 Browsing the [**latest** collection documentation](https://docs.ansible.com/ansible/latest/collections/community/windows) will show docs for the _latest version released in the Ansible package_ not the latest version of the collection released on Galaxy.
36
37 Browsing the [**devel** collection documentation](https://docs.ansible.com/ansible/devel/collections/community/windows) shows docs for the _latest version released on Galaxy_.
38
39 We also separately publish [**latest commit** collection documentation](https://ansible-collections.github.io/community.windows/branch/main/) which shows docs for the _latest commit in the `main` branch_.
40
41 If you use the Ansible package and don't update collections independently, use **latest**, if you install or update this collection directly from Galaxy, use **devel**. If you are looking to contribute, use **latest commit**.
42
43 ## Installation and Usage
44
45 ### Installing the Collection from Ansible Galaxy
46
47 Before using the Windows collection, you need to install it with the `ansible-galaxy` CLI:
48
49 ansible-galaxy collection install community.windows
50
51 You can also include it in a `requirements.yml` file and install it via `ansible-galaxy collection install -r requirements.yml` using the format:
52
53 ```yaml
54 collections:
55 - name: community.windows
56 ```
57
58
59 ## Contributing to this collection
60
61 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](https://github.com/ansible-collections/community.windows). See [Contributing to Ansible-maintained collections](https://docs.ansible.com/ansible/devel/community/contributing_maintained_collections.html#contributing-maintained-collections) for details.
62
63 See [Developing modules for Windows](https://docs.ansible.com/ansible/latest/dev_guide/developing_modules_general_windows.html#developing-modules-general-windows) for specifics on Windows modules.
64
65 See the [Ansible Community Guide](https://docs.ansible.com/ansible/latest/community/index.html) for details on contributing to Ansible.
66
67
68 ### Code of Conduct
69 This collection follows the Ansible project's
70 [Code of Conduct](https://docs.ansible.com/ansible/devel/community/code_of_conduct.html).
71 Please read and familiarize yourself with this document.
72
73
74 ### Testing with `ansible-test`
75
76 The `tests` directory contains configuration for running sanity and integration tests using [`ansible-test`](https://docs.ansible.com/ansible/latest/dev_guide/testing_integration.html).
77
78 You can run the collection's test suites with the commands:
79
80 ansible-test sanity --docker
81 ansible-test windows-integration --docker
82
83
84 ## Publishing New Version
85
86 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.
87 * Update `galaxy.yml` with the new version for the collection.
88 * Update the `CHANGELOG`:
89 * Make sure you have [`antsibull-changelog`](https://pypi.org/project/antsibull-changelog/) installed `pip install antsibull-changelog`.
90 * Make sure there are fragments for all known changes in `changelogs/fragments`.
91 * Add a new `release_summary` fragment: `echo "release_summary: Release summary for v..." > changelogs/fragments/release-summary.yml`
92 * Run `antsibull-changelog release`.
93 * Commit the changes and wait for CI to be green
94 * Create a release with the tag that matches the version number
95 * The tag is the version number itself, and should not start with anything
96 * This will trigger a build and publish the collection to Galaxy
97 * The Zuul job progress will be listed [here](https://ansible.softwarefactory-project.io/zuul/builds?project=ansible-collections%community.windows&skip=0)
98
99 After the version is published, verify it exists on the [Windows Community Collection Galaxy page](https://galaxy.ansible.com/community/windows).
100
101
102 ## More Information
103
104 For more information about Ansible's Windows integration, join the `#ansible-windows` channel on [libera.chat](https://libera.chat/) IRC, and browse the resources in the [Windows Working Group](https://github.com/ansible/community/wiki/Windows) Community wiki page.
105
106 - [Ansible Collection overview](https://github.com/ansible-collections/overview)
107 - [Ansible User guide](https://docs.ansible.com/ansible/latest/user_guide/index.html)
108 - [Ansible Developer guide](https://docs.ansible.com/ansible/latest/dev_guide/index.html)
109 - [Ansible Community code of conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html)
110
111
112 ## License
113
114 GNU General Public License v3.0 or later
115
116 See [COPYING](COPYING) to see the full text.