Debian Codegraph @

ansible_collections/microsoft/ad/README.md

raw
1 # Ansible Collection: microsoft.ad
2
3 [![Build Status](https://dev.azure.com/ansible/microsoft.ad/_apis/build/status/CI?branchName=main)](https://dev.azure.com/ansible/microsoft.ad/_build/latest?definitionId=24&branchName=main)
4 [![codecov](https://codecov.io/gh/ansible-collections/microsoft.ad/branch/main/graph/badge.svg)](https://codecov.io/gh/ansible-collections/microsoft.ad)
5
6 The `microsoft.ad` collection includes the plugins supported by Ansible to help the management of Microsoft Active Directory.
7
8 ## Communication
9
10 * Join the Ansible forum:
11 * [Get Help](https://forum.ansible.com/c/help/6): get help or help others.
12 * [Posts tagged with 'microsoft-ad'](https://forum.ansible.com/tag/microsoft-ad): subscribe to participate in collection-related conversations.
13 * [Social Spaces](https://forum.ansible.com/c/chat/4): gather and interact with fellow enthusiasts.
14 * [News & Announcements](https://forum.ansible.com/c/news/5): track project-wide announcements including social events.
15
16 * The Ansible [Bullhorn newsletter](https://docs.ansible.com/ansible/devel/community/communication.html#the-bullhorn): used to announce releases and important changes.
17
18 For more information about communication, see the [Ansible communication guide](https://docs.ansible.com/ansible/devel/community/communication.html).
19
20 ## Ansible version compatibility
21
22 This collection has been tested against following Ansible versions: **>=2.16**.
23
24 Plugins and modules within a collection may be tested with only specific Ansible versions.
25 A collection may contain metadata that identifies these versions.
26 PEP440 is the schema used to describe the versions of Ansible.
27
28 ## Changelog
29
30 See [CHANGELOG.rst](https://github.com/ansible-collections/microsoft.ad/blob/main/CHANGELOG.rst) for the release history and changes made to this collection.
31
32 ## Collection Documentation
33
34 Browsing the [**latest** collection documentation](https://docs.ansible.com/ansible/latest/collections/microsoft/ad) will show docs for the _latest version released in the Ansible package_ not the latest version of the collection released on Galaxy.
35
36 Browsing the [**devel** collection documentation](https://docs.ansible.com/ansible/devel/collections/microsoft/ad) shows docs for the _latest version released on Galaxy_.
37
38 We also separately publish [**latest commit** collection documentation](https://ansible-collections.github.io/microsoft.ad/branch/main/) which shows docs for the _latest commit in the `main` branch_.
39
40 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**.
41
42 ## Release Policy
43
44 This collection follows semantic versioning (`major`.`minor`.`patch`) which in short means:
45
46 * A `patch` release can only contain bug fixes
47 * A `minor` release can contain bug fixes, features, and new deprecations
48 * A `major` release can contain bug fixes, features, new deprecations, removal of features, and other breaking changes
49
50 Deprecated features can be removed only 2 years after the deprecation warning was added.
51 Once a deprecation warning has lasted for 2 years, they will be removed in the next `major` release.
52
53 ## Installation and Usage
54
55 ### Installing the Collection from Ansible Galaxy
56
57 Before using the Active Directory collection, you need to install it with the `ansible-galaxy` CLI:
58
59 ansible-galaxy collection install microsoft.ad
60
61 You can also include it in a `requirements.yml` file and install it via `ansible-galaxy collection install -r requirements.yml` using the format:
62
63 ```yaml
64 collections:
65 - name: microsoft.ad
66 ```
67
68 ## Contributing to this collection
69
70 We welcome community contributions to this collection. If you find problems, please open an issue or create a PR against the [Ansible Active Directory collection repository](https://github.com/ansible-collections/microsoft.ad). See [Contributing to Ansible-maintained collections](https://docs.ansible.com/ansible/devel/community/contributing_maintained_collections.html#contributing-maintained-collections) for details.
71
72 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.
73
74 See the [Ansible Community Guide](https://docs.ansible.com/ansible/latest/community/index.html) for details on contributing to Ansible.
75
76
77 ### Code of Conduct
78 This collection follows the Ansible project's
79 [Code of Conduct](https://docs.ansible.com/ansible/devel/community/code_of_conduct.html).
80 Please read and familiarize yourself with this document.
81
82
83 ### Testing with `ansible-test`
84
85 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).
86
87 You can run the collection's test suites with the commands:
88
89 ansible-test sanity --docker
90 ansible-test windows-integration --docker
91
92
93 ## Publishing New Version
94
95 The current process for publishing new versions of the Microsoft AD Collection is done through a tagged release which triggers a Zuul run. Before the tag is set, the following steps must be done.
96
97 * Update `galaxy.yml` with the new version for the collection.
98 * Update the `CHANGELOG`:
99 * Make sure you have [`antsibull-changelog`](https://pypi.org/project/antsibull-changelog/) installed `pip install antsibull-changelog`.
100 * Make sure there are fragments for all known changes in `changelogs/fragments`.
101 * Add a new `release_summary` fragment: `echo "release_summary: Release summary for v..." > changelogs/fragments/release-summary.yml`
102 * Run `antsibull-changelog release`.
103 * Commit the changes and wait for CI to be green
104 * Create a release with the tag that matches the version number
105 * The tag is the version number itself, and should not start with anything
106 * This will trigger a build and publish the collection to AH and Galaxy
107 * The Zuul job progress will be listed [here](https://ansible.softwarefactory-project.io/zuul/builds?project=ansible-collections%2Fmicrosoft.ad&skip=0)
108
109 After the version is published, verify it exists on the [Active Directory Galaxy page](https://galaxy.ansible.com/microsoft/ad).
110
111
112 ## Support
113
114 As a Red Hat Ansible [Certified Content](https://catalog.redhat.com/software/search?target_platforms=Red%20Hat%20Ansible%20Automation%20Platform), this collection is entitled to [support](https://access.redhat.com/support/) through [Ansible Automation Platform](https://www.redhat.com/en/technologies/management/ansible) (AAP) through the Red Hat Ansible team.
115
116 If a support case cannot be opened with Red Hat or the collection has been obtained either from [Galaxy](https://galaxy.ansible.com/ui/) or [GitHub](https://github.com/ansible-collections/microsoft.ad), you can open a GitHub issue on this repo but this has no guarantee of support or timeframes for a response.
117
118
119 ## License
120
121 GNU General Public License v3.0 or later
122
123 See [COPYING](COPYING) to see the full text.