summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorLee Garrett <lgarrett@rocketjump.eu>2022-03-06 17:56:03 +0100
committerLee Garrett <lgarrett@rocketjump.eu>2022-03-06 17:56:03 +0100
commit37d585600d2e2d1c64e33ffaaadce57e4c8407bd (patch)
tree75af9ca60f59e065776d037d1b151eebbf3589bd /changelogs
parentb1739f3e93dadd7d8fa794644ceedc24bddc8388 (diff)
downloaddebian-ansible-core-37d585600d2e2d1c64e33ffaaadce57e4c8407bd.zip
New upstream version 2.12.3
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/CHANGELOG-v2.12.rst114
-rw-r--r--changelogs/changelog.yaml261
2 files changed, 375 insertions, 0 deletions
diff --git a/changelogs/CHANGELOG-v2.12.rst b/changelogs/CHANGELOG-v2.12.rst
index 4ec8923e..71250127 100644
--- a/changelogs/CHANGELOG-v2.12.rst
+++ b/changelogs/CHANGELOG-v2.12.rst
@@ -5,6 +5,120 @@ ansible-core 2.12 "Dazed and Confused" Release Notes
.. contents:: Topics
+v2.12.3
+=======
+
+Release Summary
+---------------
+
+| Release Date: 2022-02-28
+| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
+
+
+Minor Changes
+-------------
+
+- The collection loader now reports a Python warning if an attempt is made to install the Ansible collection loader a second time. Previously this condition was reported using an Ansible warning.
+- ansible-test - Installation of ``cryptography`` is no longer version constrained when ``openssl`` 1.1.0 or later is installed.
+- ansible-test - Requirements for the plugin import test are now frozen.
+- ansible-test - The ``pip`` and ``wheel`` packages are removed from all sanity test virtual environments after installation completes to reduce their size. Previously they were only removed from the environments used for the ``import`` sanity test.
+- ansible-test - The hash for all managed sanity test virtual environments has changed. Containers that include ``ansible-test sanity --prime-venvs`` will need to be rebuilt to continue using primed virtual environments.
+- ansible-test - Update ``pip`` used to bootstrap remote FreeBSD instances from version 20.3.4 to 21.3.1.
+- ansible-test - Update the ``alpine`` container to version 3.3.0. This updates the base image from 3.14.2 to 3.15.0, which includes support for installing binary wheels using pip.
+- ansible-test - Update the ``galaxy`` test plugin to get its container from a copy on quay.io.
+- ansible-test - Update the ``openshift`` test plugin to get its container from a copy on quay.io.
+- junit callback - Add support for replacing the directory portion of out-of-tree relative task paths with a placeholder.
+
+Bugfixes
+--------
+
+- ansible-test - All virtual environments managed by ansible-test are marked as usable after being bootstrapped, to avoid errors caused by use of incomplete environments. Previously this was only done for sanity tests. Existing environments from previous versions of ansible-test will be recreated on demand due to lacking the new marker.
+- ansible-test - Fix the ``validate-modules`` sanity test to avoid double-loading the collection loader and possibly failing on import of the ``packaging`` module.
+- ansible-test - Import ``yaml.cyaml.CParser`` instead of ``_yaml.CParser`` in the ``yamllint`` sanity test.
+- ansible-test - Replace the directory portion of out-of-tree paths in JUnit files from integration tests with the ``out-of-tree:`` prefix.
+- ansible-test - Sanity tests run with the ``--requirements` option for Python 2.x now install ``virtualenv`` when it is missing or too old. Previously it was only installed if missing. Version 16.7.12 is now installed instead of the latest version on Python 2.7.
+- ansible-test - The ``import`` sanity test no longer reports errors about ``packaging`` being missing when testing collections.
+- ansible-test - Update the ``default`` containers to version 4.2.0.
+- ansible-test - Use https://ci-files.testing.ansible.com/ for instance bootstrapping instead of an S3 endpoint.
+- ansible-test - Use relative paths in JUnit files generated during integration test runs.
+- ansible-test - Virtual environments managed by ansible-test now use consistent versions of ``pip``, ``setuptools`` and ``wheel``. This avoids issues with virtual environments containing outdated or dysfunctional versions of these tools. The initial bootstrapping of ``pip`` is done by ansible-test from an HTTPS endpoint instead of creating the virtual environment with it already present.
+- cleaning facts will now only warn about the variable name and not post the content, which can be undesireable to disclose
+- correctly inherit vars from parent in block (https://github.com/ansible/ansible/issues/75286).
+- gather_facts action now handles the move of base connection plugin types into collections to add/prevent subset argument correctly
+- junit callback - Fix traceback during automatic fact gathering when using relative paths.
+- junit callback - Fix unicode error when handling non-ASCII task paths.
+- ssh connection now uses more correct host source as play_context can ignore loop/delegation variations.
+- task_executor reverts the change to push facts into delegated vars on loop finalization as result managing code already handles this and was duplicating effort to wrong result.
+- template lookup - restore inadvertently deleted default for ``convert_data`` (https://github.com/ansible/ansible/issues/77004)
+- unarchive - Make extraction work when the LANGUAGE environment variable is set to a non-English locale.
+
+v2.12.2
+=======
+
+Release Summary
+---------------
+
+| Release Date: 2022-01-31
+| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
+
+
+Bugfixes
+--------
+
+- Fix ``AttributeError`` when providing password file via ``--connection-password-file`` (https://github.com/ansible/ansible/issues/76530)
+- Fix ``end_play`` to end the current play only (https://github.com/ansible/ansible/issues/76672)
+- Templating - Ensure we catch exceptions when getting ``.filters`` and ``.tests`` attributes on their respective plugins and properly error, instead of aborting which results in no filters being added to the jinja2 environment
+- ``Templar.copy_with_new_env`` - set the ``finalize`` method of the new ``Templar`` object for the new environment (https://github.com/ansible/ansible/issues/76379)
+- ansible-config avoid showing _terms and _input when --only-changed.
+- ansible-galaxy - Fix using the '--ignore-certs' option when there is no server-specific configuration for the Galaxy server.
+- ansible-galaxy collection build - Ignore any existing ``MANIFEST.json`` and ``FILES.json`` in the root directory when building a collection.
+- ansible-test - Fix the ``import`` sanity test to work properly when Ansible's built-in vendoring support is in use.
+- ansible-test - Fix traceback in the ``validate-modules`` sanity test when testing an Ansible module without any callables.
+- ansible-test - Fix traceback when running from an install and delegating execution to a different Python interpreter.
+- ansible-test - Show an error message instead of a traceback when running outside of a supported directory.
+- ansible-test - Update help links to reference ``ansible-core`` instead of ``ansible``.
+- ansible-test - Update unit tests to use the ``--forked`` option instead of the deprecated ``--boxed`` option.
+- async - Improve performance of sending async callback events by never sending the full task through the queue (https://github.com/ansible/ansible/issues/76729)
+- default callback - Ensure we compare FQCN also in lockstep logic, to ensure using the FQCN of a strategy plugin triggers the correct behavior in the default callback plugin. (https://github.com/ansible/ansible/issues/76782)
+- hostname - Do not require SystemdStrategy subclasses for every distro (https://github.com/ansible/ansible/issues/76792)
+- include_vars, properly initialize variable as there is corner case in which it can end up referenced and not defined
+- ssh connection - properly quote controlpersist path given by user to avoid issues with spaces and other characters
+- ssh connection avoid parsing ssh cli debug lines as they can match expected output at high verbosities.
+- sudo become plugin, fix handling of non interactive flags, previous substitution was too naive
+- unarchive - Fix zip archive file listing that caused issues with content postprocessing (https://github.com/ansible/ansible/issues/76067).
+- yum - prevent storing unnecessary cache data by running `yum makecache fast` (https://github.com/ansible/ansible/issues/76336)
+
+v2.12.1
+=======
+
+Release Summary
+---------------
+
+| Release Date: 2021-12-06
+| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
+
+
+Minor Changes
+-------------
+
+- jinja2_native - keep same behavior on Python 3.10.
+
+Bugfixes
+--------
+
+- Ansible.ModuleUtils.LinkUtil - Ignore the ``LIB`` environment variable when loading the ``LinkUtil`` code
+- ansible-test - Automatic target requirements installation is now based on the target environment instead of the controller environment.
+- ansible-test - Fix Python real prefix detection when running in a ``venv`` virtual environment.
+- ansible-test - Fix installation and usage of ``pyyaml`` requirement for the ``import`` sanity test for collections.
+- ansible-test - Fix traceback in ``import`` sanity test on Python 2.7 when ``pip`` is not available.
+- ansible-test - Relocate constants to eliminate symlink.
+- ansible-test - Target integration test requirements are now correctly installed for target environments running on the controller.
+- ansible-test - Update the ``default`` containers to version 4.1.1, which includes the updated ``import`` sanity test requirements.
+- ansible-test - Use the legacy collection loader for ``import`` sanity tests on target-only Python versions.
+- set_fact/include_vars correctly handle delegation assignments within loops
+- setup - detect docker container with check for ./dockerenv or ./dockinit (https://github.com/ansible/ansible/pull/74349).
+- validate_argument_spec - Skip suboption validation if the top level option is an invalid type (https://github.com/ansible/ansible/issues/75612).
+
v2.12.0
=======
diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml
index 7e14bc45..16b9241e 100644
--- a/changelogs/changelog.yaml
+++ b/changelogs/changelog.yaml
@@ -1083,3 +1083,264 @@ releases:
fragments:
- v2.12.0rc1_summary.yaml
release_date: '2021-10-18'
+ 2.12.1:
+ changes:
+ release_summary: '| Release Date: 2021-12-06
+
+ | `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
+
+ '
+ codename: Dazed and Confused
+ fragments:
+ - v2.12.1_summary.yaml
+ release_date: '2021-12-06'
+ 2.12.1rc1:
+ changes:
+ bugfixes:
+ - Ansible.ModuleUtils.LinkUtil - Ignore the ``LIB`` environment variable when
+ loading the ``LinkUtil`` code
+ - ansible-test - Automatic target requirements installation is now based on
+ the target environment instead of the controller environment.
+ - ansible-test - Fix Python real prefix detection when running in a ``venv``
+ virtual environment.
+ - ansible-test - Fix installation and usage of ``pyyaml`` requirement for the
+ ``import`` sanity test for collections.
+ - ansible-test - Fix traceback in ``import`` sanity test on Python 2.7 when
+ ``pip`` is not available.
+ - ansible-test - Relocate constants to eliminate symlink.
+ - ansible-test - Target integration test requirements are now correctly installed
+ for target environments running on the controller.
+ - ansible-test - Update the ``default`` containers to version 4.1.1, which includes
+ the updated ``import`` sanity test requirements.
+ - ansible-test - Use the legacy collection loader for ``import`` sanity tests
+ on target-only Python versions.
+ - set_fact/include_vars correctly handle delegation assignments within loops
+ - setup - detect docker container with check for ./dockerenv or ./dockinit (https://github.com/ansible/ansible/pull/74349).
+ - validate_argument_spec - Skip suboption validation if the top level option
+ is an invalid type (https://github.com/ansible/ansible/issues/75612).
+ minor_changes:
+ - jinja2_native - keep same behavior on Python 3.10.
+ release_summary: '| Release Date: 2021-11-29
+
+ | `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
+
+ '
+ codename: Dazed and Confused
+ fragments:
+ - 74349-improve-docker-detection.yml
+ - 75635-fix-role-argspec-suboption-validation.yml
+ - ansible-test-default-containers-4.1.1.yml
+ - ansible-test-relocate-constants.yaml
+ - ansible-test-requirements-target.yaml
+ - ansible-test-sanity-import-loader.yml
+ - ansible-test-sanity-import-no-pip.yml
+ - ansible-test-sanity-import.yml
+ - ansible-test-venv-real-prefix.yaml
+ - jinja2_native-literal_eval-py310.yml
+ - set_fact_delegation.yml
+ - v2.12.1rc1_summary.yaml
+ - win_LinkUtil-ignore-LIB.yml
+ release_date: '2021-11-29'
+ 2.12.2:
+ changes:
+ bugfixes:
+ - ansible-test - Show an error message instead of a traceback when running outside
+ of a supported directory.
+ release_summary: '| Release Date: 2022-01-31
+
+ | `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
+
+ '
+ codename: Dazed and Confused
+ fragments:
+ - ansible-test-unsupported-directory-traceback.yaml
+ - v2.12.2_summary.yaml
+ release_date: '2022-01-31'
+ 2.12.2rc1:
+ changes:
+ bugfixes:
+ - Fix ``AttributeError`` when providing password file via ``--connection-password-file``
+ (https://github.com/ansible/ansible/issues/76530)
+ - Fix ``end_play`` to end the current play only (https://github.com/ansible/ansible/issues/76672)
+ - Templating - Ensure we catch exceptions when getting ``.filters`` and ``.tests``
+ attributes on their respective plugins and properly error, instead of aborting
+ which results in no filters being added to the jinja2 environment
+ - '``Templar.copy_with_new_env`` - set the ``finalize`` method of the new ``Templar``
+ object for the new environment (https://github.com/ansible/ansible/issues/76379)'
+ - ansible-config avoid showing _terms and _input when --only-changed.
+ - ansible-galaxy - Fix using the '--ignore-certs' option when there is no server-specific
+ configuration for the Galaxy server.
+ - ansible-galaxy collection build - Ignore any existing ``MANIFEST.json`` and
+ ``FILES.json`` in the root directory when building a collection.
+ - ansible-test - Fix the ``import`` sanity test to work properly when Ansible's
+ built-in vendoring support is in use.
+ - ansible-test - Fix traceback in the ``validate-modules`` sanity test when
+ testing an Ansible module without any callables.
+ - ansible-test - Fix traceback when running from an install and delegating execution
+ to a different Python interpreter.
+ - ansible-test - Update help links to reference ``ansible-core`` instead of
+ ``ansible``.
+ - ansible-test - Update unit tests to use the ``--forked`` option instead of
+ the deprecated ``--boxed`` option.
+ - async - Improve performance of sending async callback events by never sending
+ the full task through the queue (https://github.com/ansible/ansible/issues/76729)
+ - default callback - Ensure we compare FQCN also in lockstep logic, to ensure
+ using the FQCN of a strategy plugin triggers the correct behavior in the default
+ callback plugin. (https://github.com/ansible/ansible/issues/76782)
+ - hostname - Do not require SystemdStrategy subclasses for every distro (https://github.com/ansible/ansible/issues/76792)
+ - include_vars, properly initialize variable as there is corner case in which
+ it can end up referenced and not defined
+ - ssh connection - properly quote controlpersist path given by user to avoid
+ issues with spaces and other characters
+ - ssh connection avoid parsing ssh cli debug lines as they can match expected
+ output at high verbosities.
+ - sudo become plugin, fix handling of non interactive flags, previous substitution
+ was too naive
+ - unarchive - Fix zip archive file listing that caused issues with content postprocessing
+ (https://github.com/ansible/ansible/issues/76067).
+ - yum - prevent storing unnecessary cache data by running `yum makecache fast`
+ (https://github.com/ansible/ansible/issues/76336)
+ release_summary: '| Release Date: 2022-01-24
+
+ | `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
+
+ '
+ codename: Dazed and Confused
+ fragments:
+ - 74127-bad-filter-2.yml
+ - 76069-fix-unarchive-file-listing-in-zip.yaml
+ - 76336-yum-makecache-fast.yml
+ - 76379-set-finalize-on-new-env.yml
+ - 76530-connection-password-file-tb-fix.yml
+ - 76672-fix-end_play-multiple_plays.yml
+ - 76729-async-callback-perf.yml
+ - 76735-ansible-galaxy-fix-ignore-certs.yaml
+ - 76782-fqcn-compare-lockstep-strategies.yml
+ - 76792-hostname-all-systemd.yml
+ - ansible-test-delegation-pythonpath.yml
+ - ansible-test-links.yml
+ - ansible-test-pytest-forked.yml
+ - ansible-test-sanity-vendoring.yml
+ - ansible-test-validate-modules-no-callable.yml
+ - config_fix_terms.yml
+ - fix_sudo_flag_mangling.yml
+ - galaxy-build-files-ignore.yml
+ - include_vars_failed.yml
+ - ssh_debug_noparse.yml
+ - ssh_quote_cp.yml
+ - v2.12.2rc1_summary.yaml
+ release_date: '2022-01-24'
+ 2.12.3:
+ changes:
+ release_summary: '| Release Date: 2022-02-28
+
+ | `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
+
+ '
+ codename: Dazed and Confused
+ fragments:
+ - v2.12.3_summary.yaml
+ release_date: '2022-02-28'
+ 2.12.3rc1:
+ changes:
+ bugfixes:
+ - ansible-test - All virtual environments managed by ansible-test are marked
+ as usable after being bootstrapped, to avoid errors caused by use of incomplete
+ environments. Previously this was only done for sanity tests. Existing environments
+ from previous versions of ansible-test will be recreated on demand due to
+ lacking the new marker.
+ - ansible-test - Fix the ``validate-modules`` sanity test to avoid double-loading
+ the collection loader and possibly failing on import of the ``packaging``
+ module.
+ - ansible-test - Import ``yaml.cyaml.CParser`` instead of ``_yaml.CParser``
+ in the ``yamllint`` sanity test.
+ - ansible-test - Replace the directory portion of out-of-tree paths in JUnit
+ files from integration tests with the ``out-of-tree:`` prefix.
+ - ansible-test - Sanity tests run with the ``--requirements` option for Python
+ 2.x now install ``virtualenv`` when it is missing or too old. Previously it
+ was only installed if missing. Version 16.7.12 is now installed instead of
+ the latest version on Python 2.7.
+ - ansible-test - The ``import`` sanity test no longer reports errors about ``packaging``
+ being missing when testing collections.
+ - ansible-test - Update the ``default`` containers to version 4.2.0.
+ - ansible-test - Use https://ci-files.testing.ansible.com/ for instance bootstrapping
+ instead of an S3 endpoint.
+ - ansible-test - Use relative paths in JUnit files generated during integration
+ test runs.
+ - ansible-test - Virtual environments managed by ansible-test now use consistent
+ versions of ``pip``, ``setuptools`` and ``wheel``. This avoids issues with
+ virtual environments containing outdated or dysfunctional versions of these
+ tools. The initial bootstrapping of ``pip`` is done by ansible-test from an
+ HTTPS endpoint instead of creating the virtual environment with it already
+ present.
+ - cleaning facts will now only warn about the variable name and not post the
+ content, which can be undesireable to disclose
+ - correctly inherit vars from parent in block (https://github.com/ansible/ansible/issues/75286).
+ - gather_facts action now handles the move of base connection plugin types into
+ collections to add/prevent subset argument correctly
+ - junit callback - Fix traceback during automatic fact gathering when using
+ relative paths.
+ - junit callback - Fix unicode error when handling non-ASCII task paths.
+ - ssh connection now uses more correct host source as play_context can ignore
+ loop/delegation variations.
+ - task_executor reverts the change to push facts into delegated vars on loop
+ finalization as result managing code already handles this and was duplicating
+ effort to wrong result.
+ - template lookup - restore inadvertently deleted default for ``convert_data``
+ (https://github.com/ansible/ansible/issues/77004)
+ - unarchive - Make extraction work when the LANGUAGE environment variable is
+ set to a non-English locale.
+ minor_changes:
+ - The collection loader now reports a Python warning if an attempt is made to
+ install the Ansible collection loader a second time. Previously this condition
+ was reported using an Ansible warning.
+ - ansible-test - Installation of ``cryptography`` is no longer version constrained
+ when ``openssl`` 1.1.0 or later is installed.
+ - ansible-test - Requirements for the plugin import test are now frozen.
+ - ansible-test - The ``pip`` and ``wheel`` packages are removed from all sanity
+ test virtual environments after installation completes to reduce their size.
+ Previously they were only removed from the environments used for the ``import``
+ sanity test.
+ - ansible-test - The hash for all managed sanity test virtual environments has
+ changed. Containers that include ``ansible-test sanity --prime-venvs`` will
+ need to be rebuilt to continue using primed virtual environments.
+ - ansible-test - Update ``pip`` used to bootstrap remote FreeBSD instances from
+ version 20.3.4 to 21.3.1.
+ - ansible-test - Update the ``alpine`` container to version 3.3.0. This updates
+ the base image from 3.14.2 to 3.15.0, which includes support for installing
+ binary wheels using pip.
+ - ansible-test - Update the ``galaxy`` test plugin to get its container from
+ a copy on quay.io.
+ - ansible-test - Update the ``openshift`` test plugin to get its container from
+ a copy on quay.io.
+ - junit callback - Add support for replacing the directory portion of out-of-tree
+ relative task paths with a placeholder.
+ release_summary: '| Release Date: 2022-02-23
+
+ | `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
+
+ '
+ codename: Dazed and Confused
+ fragments:
+ - 76542-fix-unarchive-on-nenglish-locales.yml
+ - 77004-restore-missing-default.yml
+ - ansible-test-alpine3-update.yaml
+ - ansible-test-bootstrap-pip.yml
+ - ansible-test-ci-files.yaml
+ - ansible-test-container-images.yml
+ - ansible-test-default-containers-4.2.0.yml
+ - ansible-test-import-collections.yml
+ - ansible-test-junit-relative-paths.yml
+ - ansible-test-managed-venv.yml
+ - ansible-test-pyopenssl.yaml
+ - ansible-test-sanity-requirements-update.yml
+ - ansible-test-validate-modules-collection-loader.yml
+ - ansible-test-yaml-import.yaml
+ - clean_facts_values.yml
+ - fix_block_var_inh.yml
+ - fix_fax_delegation_loops.yml
+ - gather_facts_collections.yml
+ - junit-callback-task-path-unicode.yml
+ - ssh_use_right_host.yml
+ - v2.12.3rc1_summary.yaml
+ release_date: '2022-02-23'