diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c5f2c5db..6b0a67b9 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,13 +5,32 @@ Community Windows Release Notes .. contents:: Topics -v1.8.0 +v1.9.0 ====== Release Summary --------------- -- Release summary for v1.8.0 +- Release summary for v1.9.0 + +Minor Changes +------------- + +- win_disk_facts - Added ``filter`` option to filter returned facts by type of disk information - https://github.com/ansible-collections/community.windows/issues/33 +- win_disk_facts - Converted from ``#Requires -Module Ansible.ModuleUtils.Legacy`` to ``#AnsibleRequires -CSharpUtil Ansible.Basic`` +- win_iis_virtualdirectory - Added the ``connect_as``, ``username``, and ``password`` options to control the virtual directory authentication - https://github.com/ansible-collections/community.windows/issues/346 +- win_power_plan - Added ``guid`` option to specify plan by a unique identifier - https://github.com/ansible-collections/community.windows/issues/310 + +Bugfixes +-------- + +- win_domain_user - Module now properly captures and reports bad password - https://github.com/ansible-collections/community.windows/issues/316 +- win_domain_user - Module now reports user created and changed properly - https://github.com/ansible-collections/community.windows/issues/316 +- win_domain_user - The AD user's existing identity is searched using their sAMAccountName name preferentially and falls back to the provided name property instead - https://github.com/ansible-collections/community.windows/issues/344 +- win_iis_virtualdirectory - Fixed an issue where virtual directory information could not be obtained correctly when the parameter ``application`` was set + +v1.8.0 +====== Minor Changes ------------- diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 10124d8d..ced01778 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -282,8 +282,6 @@ releases: - win_nssm - Remove deprecation for ``state``, ``dependencies``, ``user``, ``password``, ``start_mode`` - win_nssm - Support gMSA accounts for ``user`` - release_summary: - - Release summary for v1.8.0 fragments: - 205-win_xml-warning.yml - 275-win_xml-verbose-removed.yml @@ -299,3 +297,33 @@ releases: name: win_domain_ou namespace: '' release_date: '2021-11-03' + 1.9.0: + changes: + bugfixes: + - win_domain_user - Module now properly captures and reports bad password - + https://github.com/ansible-collections/community.windows/issues/316 + - win_domain_user - Module now reports user created and changed properly - https://github.com/ansible-collections/community.windows/issues/316 + - win_domain_user - The AD user's existing identity is searched using their + sAMAccountName name preferentially and falls back to the provided name property + instead - https://github.com/ansible-collections/community.windows/issues/344 + - win_iis_virtualdirectory - Fixed an issue where virtual directory information + could not be obtained correctly when the parameter ``application`` was set + minor_changes: + - win_disk_facts - Added ``filter`` option to filter returned facts by type + of disk information - https://github.com/ansible-collections/community.windows/issues/33 + - win_disk_facts - Converted from ``#Requires -Module Ansible.ModuleUtils.Legacy`` + to ``#AnsibleRequires -CSharpUtil Ansible.Basic`` + - win_iis_virtualdirectory - Added the ``connect_as``, ``username``, and ``password`` + options to control the virtual directory authentication - https://github.com/ansible-collections/community.windows/issues/346 + - win_power_plan - Added ``guid`` option to specify plan by a unique identifier + - https://github.com/ansible-collections/community.windows/issues/310 + release_summary: + - Release summary for v1.9.0 + fragments: + - 310_win_disk_facts.yml + - 330_win_domain_user.yml + - 337_win_power_plan.yml + - 345_win_domain_user.yml + - 347_win_iis_virtualdirectory.yml + - release-2.9.0.yml + release_date: '2021-12-21' diff --git a/changelogs/fragments/310_win_disk_facts.yml b/changelogs/fragments/310_win_disk_facts.yml deleted file mode 100644 index 761b5b9e..00000000 --- a/changelogs/fragments/310_win_disk_facts.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -minor_changes: - - win_disk_facts - Added ``filter`` option to filter returned facts by type of disk information - https://github.com/ansible-collections/community.windows/issues/33 - - win_disk_facts - Converted from ``#Requires -Module Ansible.ModuleUtils.Legacy`` to ``#AnsibleRequires -CSharpUtil Ansible.Basic`` diff --git a/changelogs/fragments/330_win_domain_user.yml b/changelogs/fragments/330_win_domain_user.yml deleted file mode 100644 index b1a5f0a4..00000000 --- a/changelogs/fragments/330_win_domain_user.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -bugfixes: - - win_domain_user - Module now reports user created and changed properly - https://github.com/ansible-collections/community.windows/issues/316 - - win_domain_user - Module now properly captures and reports bad password - https://github.com/ansible-collections/community.windows/issues/316 diff --git a/changelogs/fragments/337_win_power_plan.yml b/changelogs/fragments/337_win_power_plan.yml deleted file mode 100644 index aa3880dd..00000000 --- a/changelogs/fragments/337_win_power_plan.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - win_power_plan - Added ``guid`` option to specify plan by a unique identifier - https://github.com/ansible-collections/community.windows/issues/310 diff --git a/changelogs/fragments/345_win_domain_user.yml b/changelogs/fragments/345_win_domain_user.yml deleted file mode 100644 index b22f2419..00000000 --- a/changelogs/fragments/345_win_domain_user.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - win_domain_user - The AD user's existing identity is searched using their sAMAccountName name preferentially and falls back to the provided name property instead - https://github.com/ansible-collections/community.windows/issues/344 \ No newline at end of file diff --git a/changelogs/fragments/347_win_iis_virtualdirectory.yml b/changelogs/fragments/347_win_iis_virtualdirectory.yml deleted file mode 100644 index c28cd34d..00000000 --- a/changelogs/fragments/347_win_iis_virtualdirectory.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- -minor_changes: - - win_iis_virtualdirectory - Added the ``connect_as``, ``username``, and ``password`` options to control the virtual directory authentication - https://github.com/ansible-collections/community.windows/issues/346 - -bugfixes: - - win_iis_virtualdirectory - Fixed an issue where virtual directory information could not be obtained correctly when the parameter ``application`` was set diff --git a/docs/community.windows.win_credential_module.rst b/docs/community.windows.win_credential_module.rst index e74a5126..8571d354 100644 --- a/docs/community.windows.win_credential_module.rst +++ b/docs/community.windows.win_credential_module.rst @@ -153,7 +153,7 @@ Parameters
The target that identifies the server or servers that the credential is to be used for.
If the value can be a NetBIOS name, DNS server name, DNS host name suffix with a wildcard character (*), a NetBIOS of DNS domain name that contains a wildcard character sequence, or an asterisk.
-
See TargetName in https://docs.microsoft.com/en-us/windows/desktop/api/wincred/ns-wincred-_credentiala for more details on what this value can be.
+
See TargetName in https://docs.microsoft.com/en-us/windows/win32/api/wincred/ns-wincred-credentiala for more details on what this value can be.
This is used with type to produce a unique credential.
diff --git a/docs/community.windows.win_disk_facts_module.rst b/docs/community.windows.win_disk_facts_module.rst index 9e4fe668..a2283364 100644 --- a/docs/community.windows.win_disk_facts_module.rst +++ b/docs/community.windows.win_disk_facts_module.rst @@ -27,6 +27,46 @@ The below requirements are needed on the host that executes this module. - Windows 8.1 / Windows 2012 (NT 6.2) +Parameters +---------- + +.. raw:: html + + + + + + + + + + + + +
ParameterChoices/DefaultsComments
+
+ filter + +
+ list + / elements=string +
+
added in 1.9.0
+
+
    Choices: +
  • physical_disk ←
  • +
  • virtual_disk ←
  • +
  • win32_disk_drive ←
  • +
  • partitions ←
  • +
  • volumes ←
  • +
+ Default:
["physical_disk", "virtual_disk", "win32_disk_drive", "partitions", "volumes"]
+
+
Allows to filter returned facts by type of disk information.
+
If volumes are selected partitions will be returned as well.
+
+
+ Notes ----- @@ -67,6 +107,12 @@ Examples debug: var: ansible_facts.disks[1].serial_number + - name: get disk physical_disk and partition facts on the target + win_disk_facts: + filter: + - physical_disk + - partitions + Returned Facts -------------- diff --git a/docs/community.windows.win_iis_virtualdirectory_module.rst b/docs/community.windows.win_iis_virtualdirectory_module.rst index d4191503..6ec320b0 100644 --- a/docs/community.windows.win_iis_virtualdirectory_module.rst +++ b/docs/community.windows.win_iis_virtualdirectory_module.rst @@ -47,6 +47,28 @@ Parameters
The application under which the virtual directory is created or exists.
+ + +
+ connect_as + +
+ string +
+
added in 1.9.0
+ + + + + +
The type of authentication to use for the virtual directory. Either pass_through or specific_user
+
If pass_through, IIS will use the identity of the user or application pool identity to access the physical path.
+
If specific_user, IIS will use the credentials provided in username and password to access the physical path.
+ +
@@ -63,6 +85,23 @@ Parameters
The name of the virtual directory to create or remove.
+ + +
+ password + +
+ string +
+
added in 1.9.0
+ + + + +
The password associated with username.
+
Required when connect_as is set to specific_user.
+ +
@@ -115,6 +154,23 @@ Parameters
Removing will remove the virtual directory and all under it (Recursively).
+ + +
+ username + +
+ string +
+
added in 1.9.0
+ + + + +
Specifies the user name of an account that can access configuration files and content for the virtual directory.
+
Required when connect_as is set to specific_user.
+ +
diff --git a/docs/community.windows.win_nssm_module.rst b/docs/community.windows.win_nssm_module.rst index bec08a5c..f8878577 100644 --- a/docs/community.windows.win_nssm_module.rst +++ b/docs/community.windows.win_nssm_module.rst @@ -404,7 +404,7 @@ Notes .. note:: - The service will NOT be started after its creation when ``state=present``. - - Once the service is created, you can use the :ref:`ansible.windowswin_service ` module to start it or configure some additionals properties, such as its startup type, dependencies, service account, and so on. + - Once the service is created, you can use the :ref:`ansible.windows.win_service ` module to start it or configure some additionals properties, such as its startup type, dependencies, service account, and so on. See Also diff --git a/docs/community.windows.win_power_plan_module.rst b/docs/community.windows.win_power_plan_module.rst index 59b29155..f7478efe 100644 --- a/docs/community.windows.win_power_plan_module.rst +++ b/docs/community.windows.win_power_plan_module.rst @@ -18,6 +18,7 @@ Synopsis -------- - This module will change the power plan of a Windows system to the defined string. - Windows defaults to ``balanced`` which will cause CPU throttling. In some cases it can be preferable to change the mode to ``high performance`` to increase CPU performance. +- One of *name* or *guid* must be provided. @@ -33,6 +34,24 @@ Parameters Choices/Defaults Comments + + +
+ guid + +
+ string +
+
added in 1.9.0
+ + + + +
String value that indicates the desired power plan by guid.
+
The power plan must already be present on the system.
+
For out of box guids see https://docs.microsoft.com/en-us/windows/win32/power/power-policy-settings.
+ +
@@ -40,13 +59,12 @@ Parameters
string - / required
-
String value that indicates the desired power plan.
+
String value that indicates the desired power plan by name.
The power plan must already be present on the system.
Commonly there will be options for balanced and high performance.
@@ -66,6 +84,10 @@ Examples community.windows.win_power_plan: name: high performance + - name: Change power plan to high performance + community.windows.win_power_plan: + guid: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c + Return Values diff --git a/galaxy.yml b/galaxy.yml index b01d6b3b..5caa9c26 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: community name: windows -version: 1.8.0 +version: 1.9.0 readme: README.md authors: - Jordan Borean @jborean93