Skip to content

Commit

Permalink
Add module defaults group
Browse files Browse the repository at this point in the history
Adds the module defaults group microsoft.ad.domain to allow setting
common connection parameters for module that communicate with the domain
controller.
  • Loading branch information
jborean93 committed Feb 18, 2024
1 parent 55831e6 commit 03ab010
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelogs/fragments/default_options.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
minor_changes:
- >-
Added ``group/microsoft.ad.domain`` module defaults group for the ``computer``, ``group``, ``object_info``,
``object``, ``ou``, and ``user`` module. Users can use this defaults group to set common connection options
for these modules such as the ``domain_server``, ``domain_username``, and ``domain_password`` options.
10 changes: 9 additions & 1 deletion meta/runtime.yml
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
requires_ansible: '>=2.14'
requires_ansible: '>=2.14'
action_groups:
domain:
- computer
- group
- object_info
- object
- ou
- user
2 changes: 2 additions & 0 deletions plugins/doc_fragments/ad_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ class ModuleDocFragment:
domain_password:
description:
- The password for I(domain_username).
- This can be set under the R(play's module defaults,module_defaults_groups)
under the C(group/microsoft.ad.domain) key.
type: str
domain_server:
description:
Expand Down

0 comments on commit 03ab010

Please sign in to comment.