From b9540df82a3171b26fd8affaff7603f8e77596ca Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Tue, 27 Jul 2021 09:51:06 +1000 Subject: [PATCH] Prepare for v1.7.1 release (#256) --- CHANGELOG.rst | 15 ++++++++++++-- changelogs/changelog.yaml | 23 +++++++++++++++++++-- changelogs/fragments/win_dsc-locale.yml | 2 -- changelogs/fragments/win_state-datetime.yml | 5 ----- changelogs/fragments/win_updates-batch.yml | 2 -- changelogs/fragments/win_updates-kb.yml | 2 -- docs/ansible.windows.win_dsc_module.rst | 3 ++- docs/ansible.windows.win_regedit_module.rst | 2 +- galaxy.yml | 2 +- 9 files changed, 38 insertions(+), 18 deletions(-) delete mode 100644 changelogs/fragments/win_dsc-locale.yml delete mode 100644 changelogs/fragments/win_state-datetime.yml delete mode 100644 changelogs/fragments/win_updates-batch.yml delete mode 100644 changelogs/fragments/win_updates-kb.yml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2409f8fd..899b8879 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,13 +5,24 @@ Ansible Windows Release Notes .. contents:: Topics -v1.7.0 +v1.7.1 ====== Release Summary --------------- -- Release summary for v1.7.0 +- Release summary for v1.7.1 + +Bugfixes +-------- + +- win_dsc - Fix import errors when running against host that wasn't installed with the ``en-US`` locale - https://github.com/ansible-collections/ansible.windows/issues/83 +- win_state - Fixed the ``creationtime``, ``lastaccesstime``, and ``lastwritetime`` to report the time in UTC. This matches the ``stat`` module's behaviour and what many would expect for a epoch based timestamp - https://github.com/ansible-collections/ansible.windows/issues/240 +- win_updates - Fixed ``win_updates`` output to not cast to an integer to preserve original behaviour and issues with non integer values - https://github.com/ansible-collections/ansible.windows/issues/247 +- win_updates - fallback to run as SYSTEM if current user does not have batch logon rights - https://github.com/ansible-collections/ansible.windows/issues/253 + +v1.7.0 +====== Minor Changes ------------- diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 09856aa4..e34a1e81 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -304,10 +304,29 @@ releases: - win_updates - Improve Windows Update HRESULT error messages - win_updates - Improve the details present in the ``log_path`` log entries for better monitoring - release_summary: - - Release summary for v1.7.0 fragments: - release-summary.yml - win_reboot-flaky-connection.yml - win_updates-refactor.yml release_date: '2021-06-26' + 1.7.1: + changes: + bugfixes: + - win_dsc - Fix import errors when running against host that wasn't installed + with the ``en-US`` locale - https://github.com/ansible-collections/ansible.windows/issues/83 + - win_state - Fixed the ``creationtime``, ``lastaccesstime``, and ``lastwritetime`` + to report the time in UTC. This matches the ``stat`` module's behaviour and + what many would expect for a epoch based timestamp - https://github.com/ansible-collections/ansible.windows/issues/240 + - win_updates - Fixed ``win_updates`` output to not cast to an integer to preserve + original behaviour and issues with non integer values - https://github.com/ansible-collections/ansible.windows/issues/247 + - win_updates - fallback to run as SYSTEM if current user does not have batch + logon rights - https://github.com/ansible-collections/ansible.windows/issues/253 + release_summary: + - Release summary for v1.7.1 + fragments: + - release_summary.yml + - win_dsc-locale.yml + - win_state-datetime.yml + - win_updates-batch.yml + - win_updates-kb.yml + release_date: '2021-07-27' diff --git a/changelogs/fragments/win_dsc-locale.yml b/changelogs/fragments/win_dsc-locale.yml deleted file mode 100644 index 5876cf10..00000000 --- a/changelogs/fragments/win_dsc-locale.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- win_dsc - Fix import errors when running against host that wasn't installed with the ``en-US`` locale - https://github.com/ansible-collections/ansible.windows/issues/83 diff --git a/changelogs/fragments/win_state-datetime.yml b/changelogs/fragments/win_state-datetime.yml deleted file mode 100644 index 19b0ad12..00000000 --- a/changelogs/fragments/win_state-datetime.yml +++ /dev/null @@ -1,5 +0,0 @@ -bugfixes: -- >- - win_state - Fixed the ``creationtime``, ``lastaccesstime``, and ``lastwritetime`` to report the time in UTC. - This matches the ``stat`` module's behaviour and what many would expect for a epoch based timestamp - - https://github.com/ansible-collections/ansible.windows/issues/240 diff --git a/changelogs/fragments/win_updates-batch.yml b/changelogs/fragments/win_updates-batch.yml deleted file mode 100644 index db4fb838..00000000 --- a/changelogs/fragments/win_updates-batch.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- win_updates - fallback to run as SYSTEM if current user does not have batch logon rights - https://github.com/ansible-collections/ansible.windows/issues/253 diff --git a/changelogs/fragments/win_updates-kb.yml b/changelogs/fragments/win_updates-kb.yml deleted file mode 100644 index 8e72ef1e..00000000 --- a/changelogs/fragments/win_updates-kb.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- win_updates - Fixed ``win_updates`` output to not cast to an integer to preserve original behaviour and issues with non integer values - https://github.com/ansible-collections/ansible.windows/issues/247 diff --git a/docs/ansible.windows.win_dsc_module.rst b/docs/ansible.windows.win_dsc_module.rst index 0f4eaa5f..9ff13965 100644 --- a/docs/ansible.windows.win_dsc_module.rst +++ b/docs/ansible.windows.win_dsc_module.rst @@ -99,11 +99,12 @@ Notes ----- .. note:: - - By default there are a few builtin resources that come with PowerShell 5.0, see https://docs.microsoft.com/en-us/powershell/scripting/dsc/resources/resources for more information on these resources. + - By default there are a few builtin resources that come with PowerShell 5.0, See https://docs.microsoft.com/en-us/powershell/scripting/dsc/resources/resources for more information on these resources. - Custom DSC resources can be installed with :ref:`community.windows.win_psmodule ` using the *name* option. - The DSC engine run's each task as the SYSTEM account, any resources that need to be accessed with a different account need to have ``PsDscRunAsCredential`` set. - To see the valid options for a DSC resource, run the module with ``-vvv`` to show the possible module invocation. Default values are not shown in this output but are applied within the DSC engine. - The DSC engine requires the HTTP WSMan listener to be online and its port configured as the default listener for HTTP. This is set up by default but if a custom HTTP port is used or only a HTTPS listener is present then the module will fail. See the examples for a way to check this out in PowerShell. + - The Local Configuration Manager ``LCM`` on the targeted host in question should be disabled to avoid any conflicts with resources being applied by this module. See https://devblogs.microsoft.com/powershell/invoking-powershell-dsc-resources-directly/ for more information on hwo to disable ``LCM``. diff --git a/docs/ansible.windows.win_regedit_module.rst b/docs/ansible.windows.win_regedit_module.rst index 8dc33e2a..aa6f6537 100644 --- a/docs/ansible.windows.win_regedit_module.rst +++ b/docs/ansible.windows.win_regedit_module.rst @@ -289,7 +289,7 @@ Examples path: HKLM:\ANSIBLE\Control Panel\Mouse name: MouseTrails data: 10 - type: str + type: string state: present hive: C:\Users\Default\NTUSER.dat diff --git a/galaxy.yml b/galaxy.yml index 5caeb58c..38608403 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: ansible name: windows -version: 1.7.0 +version: 1.7.1 readme: README.md authors: - Jordan Borean @jborean93