From 10922d58f0bf0e856a8dd063d4231f5293d3b88c Mon Sep 17 00:00:00 2001 From: Rick Elrod Date: Mon, 26 Oct 2020 14:32:55 -0500 Subject: New release v2.10.3rc1 --- changelogs/CHANGELOG-v2.10.rst | 46 ++++++++++++++ changelogs/changelog.yaml | 90 ++++++++++++++++++++++++++++ changelogs/fragments/v2.10.3rc1_summary.yaml | 3 + lib/ansible/release.py | 2 +- 4 files changed, 140 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/v2.10.3rc1_summary.yaml diff --git a/changelogs/CHANGELOG-v2.10.rst b/changelogs/CHANGELOG-v2.10.rst index 8c71dedb0c..f4a26c7ac7 100644 --- a/changelogs/CHANGELOG-v2.10.rst +++ b/changelogs/CHANGELOG-v2.10.rst @@ -5,6 +5,52 @@ Ansible Base 2.10 "When the Levee Breaks" Release Notes .. contents:: Topics +v2.10.3rc1 +========== + +Release Summary +--------------- + +| Release Date: 2020-10-26 +| `Porting Guide `__ + + +Minor Changes +------------- + +- ansible-test - Add a ``--docker-network`` option to choose the network for running containers when using the ``--docker`` option. +- ansible-test - Collections can now specify pip constraints for unit and integration test requirements using ``tests/unit/constraints.txt`` and ``tests/integration/constraints.txt`` respectively. +- ansible-test - python-cryptography is now bounded at <3.2, as 3.2 drops support for OpenSSL 1.0.2 upon which some of our CI infrastructure still depends. +- dnf - now shows specific package changes (installations/removals) under ``results`` in check_mode. (https://github.com/ansible/ansible/issues/66132) + +Breaking Changes / Porting Guide +-------------------------------- + +- ansible-galaxy login command has been removed (see https://github.com/ansible/ansible/issues/71560) + +Bugfixes +-------- + +- Collection callbacks were ignoring options and rules for stdout and adhoc cases. +- Collections - Ensure ``action_loader.get`` is called with ``collection_list`` to properly find collections when ``collections:`` search is specified (https://github.com/ansible/ansible/issues/72170) +- Fix ``RecursionError`` when templating large vars structures (https://github.com/ansible/ansible/issues/71920) +- ansible-doc - plugin option deprecations now also get ``collection_name`` added (https://github.com/ansible/ansible/pull/71735). +- ansible-test - Always connect additional Docker containers to the network used by the current container (if any). +- ansible-test - Always map ``/var/run/docker.sock`` into test containers created by the ``--docker`` option if the docker host is not ``localhost``. +- ansible-test - Attempt to detect the Docker hostname instead of assuming ``localhost``. +- ansible-test - Correctly detect running in a Docker container on Azure Pipelines. +- ansible-test - Prefer container IP at ``.NetworkSettings.Networks.{NetworkName}.IPAddress`` over ``.NetworkSettings.IPAddress``. +- ansible-test - The ``cs`` and ``openshift`` test plugins now search for containers on the current network instead of assuming the ``bridge`` network. +- ansible-test - Using the ``--remote`` option on Azure Pipelines now works from a job running in a container. +- async_wrapper - Fix race condition when ``~/.ansible_async`` folder tries to be created by multiple async tasks at the same time - https://github.com/ansible/ansible/issues/59306 +- dnf - it is now possible to specify both ``security: true`` and ``bugfix: true`` to install updates of both types. Previously, only security would get installed if both were true. (https://github.com/ansible/ansible/issues/70854) +- facts - fix distribution fact for SLES4SAP (https://github.com/ansible/ansible/pull/71559). +- is_string/vault - Ensure the is_string helper properly identifies AnsibleVaultEncryptedUnicode as a string (https://github.com/ansible/ansible/pull/71609) +- powershell - remove getting the PowerShell version from the env var ``POWERSHELL_VERSION``. This feature never worked properly and can cause conflicts with other libraries that use this var +- url lookup - make sure that options supplied in ansible.cfg are actually used (https://github.com/ansible/ansible/pull/71736). +- user - AnsibleModule.run_command returns a tuple of return code, stdout and stderr. The module main function of the user module expects user.create_user to return a tuple of return code, stdout and stderr. Fix the locations where stdout and stderr got reversed. +- user - Local users with an expiry date cannot be created as the ``luseradd`` / ``lusermod`` commands do not support the ``-e`` option. Set the expiry time in this case via ``lchage`` after the user was created / modified. (https://github.com/ansible/ansible/issues/71942) + v2.10.2 ======= diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 91c7c22e37..fe0286307f 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -2029,3 +2029,93 @@ releases: - runas-become-system-privileges.yml - v2.10.2rc1_summary.yaml release_date: '2020-09-28' + 2.10.3rc1: + changes: + breaking_changes: + - ansible-galaxy login command has been removed (see https://github.com/ansible/ansible/issues/71560) + bugfixes: + - Collection callbacks were ignoring options and rules for stdout and adhoc + cases. + - Collections - Ensure ``action_loader.get`` is called with ``collection_list`` + to properly find collections when ``collections:`` search is specified (https://github.com/ansible/ansible/issues/72170) + - Fix ``RecursionError`` when templating large vars structures (https://github.com/ansible/ansible/issues/71920) + - ansible-doc - plugin option deprecations now also get ``collection_name`` + added (https://github.com/ansible/ansible/pull/71735). + - ansible-test - Always connect additional Docker containers to the network + used by the current container (if any). + - ansible-test - Always map ``/var/run/docker.sock`` into test containers created + by the ``--docker`` option if the docker host is not ``localhost``. + - ansible-test - Attempt to detect the Docker hostname instead of assuming ``localhost``. + - ansible-test - Correctly detect running in a Docker container on Azure Pipelines. + - ansible-test - Prefer container IP at ``.NetworkSettings.Networks.{NetworkName}.IPAddress`` + over ``.NetworkSettings.IPAddress``. + - ansible-test - The ``cs`` and ``openshift`` test plugins now search for containers + on the current network instead of assuming the ``bridge`` network. + - ansible-test - Using the ``--remote`` option on Azure Pipelines now works + from a job running in a container. + - async_wrapper - Fix race condition when ``~/.ansible_async`` folder tries + to be created by multiple async tasks at the same time - https://github.com/ansible/ansible/issues/59306 + - 'dnf - it is now possible to specify both ``security: true`` and ``bugfix: + true`` to install updates of both types. Previously, only security would get + installed if both were true. (https://github.com/ansible/ansible/issues/70854)' + - facts - fix distribution fact for SLES4SAP (https://github.com/ansible/ansible/pull/71559). + - is_string/vault - Ensure the is_string helper properly identifies AnsibleVaultEncryptedUnicode + as a string (https://github.com/ansible/ansible/pull/71609) + - powershell - remove getting the PowerShell version from the env var ``POWERSHELL_VERSION``. + This feature never worked properly and can cause conflicts with other libraries + that use this var + - url lookup - make sure that options supplied in ansible.cfg are actually used + (https://github.com/ansible/ansible/pull/71736). + - 'user - AnsibleModule.run_command returns a tuple of return code, stdout and + stderr. The module main function of the user module expects user.create_user + to return a tuple of return code, stdout and stderr. Fix the locations where + stdout and stderr got reversed. + + ' + - 'user - Local users with an expiry date cannot be created as the ``luseradd`` + / ``lusermod`` commands do not support the ``-e`` option. Set the expiry time + in this case via ``lchage`` after the user was created / modified. (https://github.com/ansible/ansible/issues/71942) + + ' + minor_changes: + - ansible-test - Add a ``--docker-network`` option to choose the network for + running containers when using the ``--docker`` option. + - ansible-test - Collections can now specify pip constraints for unit and integration + test requirements using ``tests/unit/constraints.txt`` and ``tests/integration/constraints.txt`` + respectively. + - ansible-test - python-cryptography is now bounded at <3.2, as 3.2 drops support + for OpenSSL 1.0.2 upon which some of our CI infrastructure still depends. + - dnf - now shows specific package changes (installations/removals) under ``results`` + in check_mode. (https://github.com/ansible/ansible/issues/66132) + release_summary: '| Release Date: 2020-10-26 + + | `Porting Guide `__ + + ' + codename: When the Levee Breaks + fragments: + - 66132_dnf_show_pkgs_in_check_mode.yml + - 70854-dnf-mutually-exclusive-filters.yml + - 71559-fix-distribution-fact-sles4sap.yaml + - 71609-is_string-vault.yml + - 71735-deprecation-tagging.yml + - 71920-fix-templating-recursion-error.yml + - 72170-action-loader-collection-list.yml + - ansible-test-azp-agent-temp-dir.yml + - ansible-test-collection-constraints.yml + - ansible-test-constraints-cryptography-old-openssl.yml + - ansible-test-container-ip-lookup.yml + - ansible-test-docker-default-network.yml + - ansible-test-docker-detection-fix.yml + - ansible-test-docker-not-localhost.yml + - ansible-test-docker-socket.yml + - ansible-test-network-container-search.yml + - async-race-condition.yml + - collections_cb_fix.yml + - fix_ansible_issue_71942.yaml + - fix_reversed_return_value_order_72088.yaml + - galaxy_login_bye.yml + - powershell-version-env.yml + - url-lookup-ini.yml + - v2.10.3rc1_summary.yaml + release_date: '2020-10-26' diff --git a/changelogs/fragments/v2.10.3rc1_summary.yaml b/changelogs/fragments/v2.10.3rc1_summary.yaml new file mode 100644 index 0000000000..987755768b --- /dev/null +++ b/changelogs/fragments/v2.10.3rc1_summary.yaml @@ -0,0 +1,3 @@ +release_summary: | + | Release Date: 2020-10-26 + | `Porting Guide `__ diff --git a/lib/ansible/release.py b/lib/ansible/release.py index 48ab242041..7453973869 100644 --- a/lib/ansible/release.py +++ b/lib/ansible/release.py @@ -19,6 +19,6 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type -__version__ = '2.10.2.post0' +__version__ = '2.10.3rc1' __author__ = 'Ansible, Inc.' __codename__ = 'When the Levee Breaks' -- cgit v1.2.1