Compare commits
162 Commits
v2.12.0b1
...
v2.12.7rc1
| Author | SHA1 | Date | |
|---|---|---|---|
| 531123a311 | |||
| fa3f74af91 | |||
| 117414e5c2 | |||
| 482ce8fa8b | |||
| 2cc9333e97 | |||
| daf160bc67 | |||
| f4d7f33513 | |||
| 0eb8e5e571 | |||
| 832a762c2b | |||
| f6b028341b | |||
| a1683d3dab | |||
| 04ab182ef9 | |||
| 01cbef9476 | |||
| 48689b63e4 | |||
| 092d298b5c | |||
| a9f17d0532 | |||
| 4bde2d8a97 | |||
| 625a99aa32 | |||
| 013be12888 | |||
| b667639c2c | |||
| b104478f17 | |||
| 3ea4cdaddf | |||
| e3ee19fbb8 | |||
| fbc7502050 | |||
| 04afeffed7 | |||
| db69d93c1c | |||
| 374882e4df | |||
| 2ce5d99e83 | |||
| 8bbcfebd5c | |||
| efbe050c29 | |||
| de70bfbcb0 | |||
| d8bc9c4056 | |||
| bfd93c835a | |||
| 36be99b52d | |||
| 5c97f7e16f | |||
| 660e8fa07d | |||
| 7ddf9c6bff | |||
| 26fd20c287 | |||
| b3968340a0 | |||
| 17836f8e65 | |||
| 2ff3ee75a5 | |||
| bedff70f3e | |||
| a45c4aadb8 | |||
| 2d98b94f6c | |||
| a90ef30282 | |||
| b801ef15c9 | |||
| 0ee3815c55 | |||
| 7efb3caf76 | |||
| bcdde7ebe3 | |||
| 586e40facf | |||
| 2f0b8398c9 | |||
| 7df9c1bc91 | |||
| 972bcfe7eb | |||
| 65792c3035 | |||
| 5caa97962e | |||
| 010b143743 | |||
| 2a1aabed33 | |||
| 582d3b1488 | |||
| 782b8645b8 | |||
| ce60a37683 | |||
| 6f94380767 | |||
| c3ee359726 | |||
| de9fb8087e | |||
| cd0ebed875 | |||
| 317ff44f6d | |||
| ae35fc04c3 | |||
| 613519d294 | |||
| bd0756e113 | |||
| 88cf272df0 | |||
| f574333395 | |||
| a9814fb3fe | |||
| aa3747d116 | |||
| e312665990 | |||
| b5c49f1023 | |||
| 4ba819ad56 | |||
| 0e7d0d0038 | |||
| 7f08acd46a | |||
| 9e4a49ded8 | |||
| 1ef0bc3fd6 | |||
| f496edc6e9 | |||
| 6c75cf5c83 | |||
| e81005e910 | |||
| 5c208f0d71 | |||
| ddc9575260 | |||
| f81225c3e5 | |||
| 30aeba87c3 | |||
| fdb93a912b | |||
| 3ded47c3d3 | |||
| dd2e695c93 | |||
| 83d7716e02 | |||
| 3edae9b3e8 | |||
| a60b79d8e8 | |||
| ec8b1d267d | |||
| 645f74732c | |||
| 5407c953ec | |||
| 841135bd42 | |||
| 6fa408a99a | |||
| ca3889bf77 | |||
| 52d5adf6bc | |||
| 8b5ae59b36 | |||
| ba1e93114c | |||
| f88efd57cb | |||
| 5619368075 | |||
| 295a22f0b6 | |||
| 2f2267a6e5 | |||
| ff7fc58269 | |||
| 5771261825 | |||
| 7262d38dda | |||
| 73a631911c | |||
| 394c331c6d | |||
| 9d7ecaa8f7 | |||
| 8bab2e309b | |||
| a9ade42930 | |||
| f00f12393b | |||
| d7364ecbc4 | |||
| b00bdf2081 | |||
| 3741551f8a | |||
| 4bd007a089 | |||
| 1522300cdf | |||
| 3740f03b0a | |||
| 036a8acd55 | |||
| 04967a5664 | |||
| ecbe4a1530 | |||
| c2eb014ad4 | |||
| 0ac22985cb | |||
| 3194f60998 | |||
| 2556e33077 | |||
| 8e8c4be23f | |||
| f3de38a975 | |||
| 9e1ef1b21f | |||
| 7d324cea42 | |||
| 6cba4c11d4 | |||
| 48e2fc3b9b | |||
| 1cade8390f | |||
| a020694891 | |||
| 273e09158f | |||
| fce742a2d5 | |||
| 745b1455cd | |||
| cb779ee9bb | |||
| 99f694bfb7 | |||
| 227da1ccc5 | |||
| a7b06d9c81 | |||
| 4ef593e4b0 | |||
| ffc4b065be | |||
| 50b9f08db6 | |||
| 228e563a73 | |||
| 3b06e0a9a9 | |||
| 634916b9cb | |||
| 3fa64176af | |||
| 069e0ec058 | |||
| d0abb7e081 | |||
| 7ca335d61f | |||
| 217c0c29e5 | |||
| 6ccd35cd7c | |||
| e2c4d046a9 | |||
| d603412891 | |||
| 72c1eec1ea | |||
| e112ca934d | |||
| 35152d8cb8 | |||
| 0270c2306d | |||
| 8980985d06 | |||
| 8669f27d48 |
@ -26,8 +26,6 @@ variables:
|
||||
value: ansible
|
||||
- name: coverageBranches
|
||||
value: devel
|
||||
- name: pipelinesCoverage
|
||||
value: coverage
|
||||
- name: entryPoint
|
||||
value: test/utils/shippable/shippable.sh
|
||||
- name: fetchDepth
|
||||
@ -36,7 +34,7 @@ variables:
|
||||
resources:
|
||||
containers:
|
||||
- container: default
|
||||
image: quay.io/ansible/azure-pipelines-test-container:1.9.0
|
||||
image: quay.io/ansible/azure-pipelines-test-container:3.0.0
|
||||
|
||||
pool: Standard
|
||||
|
||||
@ -120,8 +118,6 @@ stages:
|
||||
test: centos6
|
||||
- name: CentOS 7
|
||||
test: centos7
|
||||
- name: CentOS 8
|
||||
test: centos8
|
||||
- name: Fedora 33
|
||||
test: fedora33
|
||||
- name: Fedora 34
|
||||
@ -194,8 +190,6 @@ stages:
|
||||
test: centos6
|
||||
- name: CentOS 7
|
||||
test: centos7
|
||||
- name: CentOS 8
|
||||
test: centos8
|
||||
- name: Fedora 33
|
||||
test: fedora33
|
||||
- name: Fedora 34
|
||||
|
||||
@ -9,9 +9,9 @@ PATH="${PWD}/bin:${PATH}"
|
||||
|
||||
mkdir "${agent_temp_directory}/coverage/"
|
||||
|
||||
options=(--venv --venv-system-site-packages --color -v)
|
||||
options=(--venv --color -v)
|
||||
|
||||
ansible-test coverage combine --export "${agent_temp_directory}/coverage/" "${options[@]}"
|
||||
ansible-test coverage combine --group-by command --export "${agent_temp_directory}/coverage/" "${options[@]}"
|
||||
|
||||
if ansible-test coverage analyze targets generate --help >/dev/null 2>&1; then
|
||||
# Only analyze coverage if the installed version of ansible-test supports it.
|
||||
|
||||
101
.azure-pipelines/scripts/publish-codecov.py
Executable file
101
.azure-pipelines/scripts/publish-codecov.py
Executable file
@ -0,0 +1,101 @@
|
||||
#!/usr/bin/env python
|
||||
"""
|
||||
Upload code coverage reports to codecov.io.
|
||||
Multiple coverage files from multiple languages are accepted and aggregated after upload.
|
||||
Python coverage, as well as PowerShell and Python stubs can all be uploaded.
|
||||
"""
|
||||
|
||||
import argparse
|
||||
import dataclasses
|
||||
import pathlib
|
||||
import shutil
|
||||
import subprocess
|
||||
import tempfile
|
||||
import typing as t
|
||||
import urllib.request
|
||||
|
||||
|
||||
@dataclasses.dataclass(frozen=True)
|
||||
class CoverageFile:
|
||||
name: str
|
||||
path: pathlib.Path
|
||||
flags: t.List[str]
|
||||
|
||||
|
||||
@dataclasses.dataclass(frozen=True)
|
||||
class Args:
|
||||
dry_run: bool
|
||||
path: pathlib.Path
|
||||
|
||||
|
||||
def parse_args() -> Args:
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('-n', '--dry-run', action='store_true')
|
||||
parser.add_argument('path', type=pathlib.Path)
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
# Store arguments in a typed dataclass
|
||||
fields = dataclasses.fields(Args)
|
||||
kwargs = {field.name: getattr(args, field.name) for field in fields}
|
||||
|
||||
return Args(**kwargs)
|
||||
|
||||
|
||||
def process_files(directory: pathlib.Path) -> t.Tuple[CoverageFile, ...]:
|
||||
processed = []
|
||||
for file in directory.joinpath('reports').glob('coverage*.xml'):
|
||||
name = file.stem.replace('coverage=', '')
|
||||
|
||||
# Get flags from name
|
||||
flags = name.replace('-powershell', '').split('=') # Drop '-powershell' suffix
|
||||
flags = [flag if not flag.startswith('stub') else flag.split('-')[0] for flag in flags] # Remove "-01" from stub files
|
||||
|
||||
processed.append(CoverageFile(name, file, flags))
|
||||
|
||||
return tuple(processed)
|
||||
|
||||
|
||||
def upload_files(codecov_bin: pathlib.Path, files: t.Tuple[CoverageFile, ...], dry_run: bool = False) -> None:
|
||||
for file in files:
|
||||
cmd = [
|
||||
str(codecov_bin),
|
||||
'--name', file.name,
|
||||
'--file', str(file.path),
|
||||
]
|
||||
for flag in file.flags:
|
||||
cmd.extend(['--flags', flag])
|
||||
|
||||
if dry_run:
|
||||
print(f'DRY-RUN: Would run command: {cmd}')
|
||||
continue
|
||||
|
||||
subprocess.run(cmd, check=True)
|
||||
|
||||
|
||||
def download_file(url: str, dest: pathlib.Path, flags: int, dry_run: bool = False) -> None:
|
||||
if dry_run:
|
||||
print(f'DRY-RUN: Would download {url} to {dest} and set mode to {flags:o}')
|
||||
return
|
||||
|
||||
with urllib.request.urlopen(url) as resp:
|
||||
with dest.open('w+b') as f:
|
||||
# Read data in chunks rather than all at once
|
||||
shutil.copyfileobj(resp, f, 64 * 1024)
|
||||
|
||||
dest.chmod(flags)
|
||||
|
||||
|
||||
def main():
|
||||
args = parse_args()
|
||||
url = 'https://ci-files.testing.ansible.com/codecov/linux/codecov'
|
||||
with tempfile.TemporaryDirectory(prefix='codecov-') as tmpdir:
|
||||
codecov_bin = pathlib.Path(tmpdir) / 'codecov'
|
||||
download_file(url, codecov_bin, 0o755, args.dry_run)
|
||||
|
||||
files = process_files(args.path)
|
||||
upload_files(codecov_bin, files, args.dry_run)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
@ -1,27 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Upload code coverage reports to codecov.io.
|
||||
# Multiple coverage files from multiple languages are accepted and aggregated after upload.
|
||||
# Python coverage, as well as PowerShell and Python stubs can all be uploaded.
|
||||
|
||||
set -o pipefail -eu
|
||||
|
||||
output_path="$1"
|
||||
|
||||
curl --silent --show-error https://ansible-ci-files.s3.us-east-1.amazonaws.com/codecov/codecov.sh > codecov.sh
|
||||
|
||||
for file in "${output_path}"/reports/coverage*.xml; do
|
||||
name="${file}"
|
||||
name="${name##*/}" # remove path
|
||||
name="${name##coverage=}" # remove 'coverage=' prefix if present
|
||||
name="${name%.xml}" # remove '.xml' suffix
|
||||
|
||||
bash codecov.sh \
|
||||
-f "${file}" \
|
||||
-n "${name}" \
|
||||
-X coveragepy \
|
||||
-X gcov \
|
||||
-X fix \
|
||||
-X search \
|
||||
-X xcode \
|
||||
|| echo "Failed to upload code coverage report to codecov.io: ${file}"
|
||||
done
|
||||
@ -14,4 +14,4 @@ fi
|
||||
|
||||
# Generate stubs using docker (if supported) otherwise fall back to using a virtual environment instead.
|
||||
# The use of docker is required when Powershell code is present, but Ansible 2.12 was the first version to support --docker with coverage.
|
||||
ansible-test coverage xml --stub --docker --color -v || ansible-test coverage xml --stub --venv --venv-system-site-packages --color -v
|
||||
ansible-test coverage xml --group-by command --stub --docker --color -v || ansible-test coverage xml --group-by command --stub --venv --color -v
|
||||
|
||||
@ -23,20 +23,7 @@ jobs:
|
||||
- bash: .azure-pipelines/scripts/report-coverage.sh
|
||||
displayName: Generate Coverage Report
|
||||
condition: gt(variables.coverageFileCount, 0)
|
||||
- task: PublishCodeCoverageResults@1
|
||||
inputs:
|
||||
codeCoverageTool: Cobertura
|
||||
# Azure Pipelines only accepts a single coverage data file.
|
||||
# That means only Python or PowerShell coverage can be uploaded, but not both.
|
||||
# Set the "pipelinesCoverage" variable to determine which type is uploaded.
|
||||
# Use "coverage" for Python and "coverage-powershell" for PowerShell.
|
||||
summaryFileLocation: "$(outputPath)/reports/$(pipelinesCoverage).xml"
|
||||
# Override the root (sources) path specified in the coverage XML files.
|
||||
# This allows coverage to be reported in Azure Pipelines even if the report was generated in a container.
|
||||
pathToSources: "$(Agent.BuildDirectory)/$(checkoutPath)"
|
||||
displayName: Publish to Azure Pipelines
|
||||
condition: gt(variables.coverageFileCount, 0)
|
||||
- bash: .azure-pipelines/scripts/publish-codecov.sh "$(outputPath)"
|
||||
- bash: .azure-pipelines/scripts/publish-codecov.py "$(outputPath)"
|
||||
displayName: Publish to codecov.io
|
||||
condition: gt(variables.coverageFileCount, 0)
|
||||
continueOnError: true
|
||||
|
||||
@ -32,8 +32,6 @@ You can install a released version of Ansible with ``pip`` or a package manager.
|
||||
`installation guide <https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html>`_ for details on installing Ansible
|
||||
on a variety of platforms.
|
||||
|
||||
Red Hat offers supported builds of `Ansible Engine <https://www.ansible.com/ansible-engine>`_.
|
||||
|
||||
Power users and developers can run the ``devel`` branch, which has the latest
|
||||
features and fixes, directly. Although it is reasonably stable, you are more likely to encounter
|
||||
breaking changes when running the ``devel`` branch. We recommend getting involved
|
||||
|
||||
@ -5,13 +5,266 @@ ansible-core 2.12 "Dazed and Confused" Release Notes
|
||||
.. contents:: Topics
|
||||
|
||||
|
||||
v2.12.0b1
|
||||
=========
|
||||
v2.12.7rc1
|
||||
==========
|
||||
|
||||
Release Summary
|
||||
---------------
|
||||
|
||||
| Release Date: 2021-09-27
|
||||
| Release Date: 2022-06-13
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
|
||||
|
||||
Minor Changes
|
||||
-------------
|
||||
|
||||
- Add an 'action_plugin' field for modules in runtime.yml plugin_routing.
|
||||
|
||||
This fixes module_defaults by supporting modules-as-redirected-actions
|
||||
without redirecting module_defaults entries to the common action.
|
||||
|
||||
.. code: yaml
|
||||
|
||||
plugin_routing:
|
||||
action:
|
||||
facts:
|
||||
redirect: ns.coll.eos
|
||||
command:
|
||||
redirect: ns.coll.eos
|
||||
modules:
|
||||
facts:
|
||||
redirect: ns.coll.eos_facts
|
||||
command:
|
||||
redirect: ns.coll.eos_command
|
||||
|
||||
With the runtime.yml above for ns.coll, a task such as
|
||||
|
||||
.. code: yaml
|
||||
|
||||
- hosts: all
|
||||
module_defaults:
|
||||
ns.coll.eos_facts: {'valid_for_eos_facts': 'value'}
|
||||
ns.coll.eos_command: {'not_valid_for_eos_facts': 'value'}
|
||||
tasks:
|
||||
- ns.coll.facts:
|
||||
|
||||
will end up with defaults for eos_facts and eos_command
|
||||
since both modules redirect to the same action.
|
||||
|
||||
To select an action plugin for a module without merging
|
||||
module_defaults, define an action_plugin field for the resolved
|
||||
module in the runtime.yml.
|
||||
|
||||
.. code: yaml
|
||||
|
||||
plugin_routing:
|
||||
modules:
|
||||
facts:
|
||||
redirect: ns.coll.eos_facts
|
||||
action_plugin: ns.coll.eos
|
||||
command:
|
||||
redirect: ns.coll.eos_command
|
||||
action_plugin: ns.coll.eos
|
||||
|
||||
The action_plugin field can be a redirected action plugin, as
|
||||
it is resolved normally.
|
||||
|
||||
Using the modified runtime.yml, the example task will only use
|
||||
the ns.coll.eos_facts defaults.
|
||||
- ansible-test - Avoid using the ``mock_use_standalone_module`` setting for unit tests running on Python 3.8 or later.
|
||||
|
||||
Bugfixes
|
||||
--------
|
||||
|
||||
- pip - fix cases where resolution of pip Python module fails when importlib.util has not already been imported
|
||||
- plugin loader - Sort results when fuzzy matching plugin names (https://github.com/ansible/ansible/issues/77966).
|
||||
|
||||
v2.12.6
|
||||
=======
|
||||
|
||||
Release Summary
|
||||
---------------
|
||||
|
||||
| Release Date: 2022-05-23
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
|
||||
|
||||
Bugfixes
|
||||
--------
|
||||
|
||||
- Prevent losing unsafe on results returned from lookups (https://github.com/ansible/ansible/issues/77535)
|
||||
- arg_spec - Fix incorrect ``no_log`` warning when a parameter alias is used (https://github.com/ansible/ansible/pull/77576)
|
||||
- plugin loader will now load config data for plugin by name instead of by file to avoid issues with the same file being loaded under different names (fqcn + short name).
|
||||
- variablemanager, more efficient read of vars files
|
||||
|
||||
v2.12.5
|
||||
=======
|
||||
|
||||
Release Summary
|
||||
---------------
|
||||
|
||||
| Release Date: 2022-04-25
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
|
||||
|
||||
Bugfixes
|
||||
--------
|
||||
|
||||
- Ansible.ModuleUtils.SID - Use user principal name as is for lookup in the ``Convert-ToSID`` function - https://github.com/ansible/ansible/issues/77316
|
||||
- Fix traceback when installing a collection from a git repository and git is not installed (https://github.com/ansible/ansible/issues/77479).
|
||||
- ansible-test - Correctly detect when running as the ``root`` user (UID 0) on the origin host. The result of the detection was incorrectly being inverted.
|
||||
- ansible-test - Fix skipping of tests marked ``needs/python`` on the origin host.
|
||||
- ansible-test - Fix skipping of tests marked ``needs/root`` on the origin host.
|
||||
- ansible-test compile sanity test - do not crash if a column could not be determined for an error (https://github.com/ansible/ansible/pull/77465).
|
||||
- hostname - use ``file_get_content()`` to read the file containing the host name in the ``FileStrategy.get_permanent_hostname()`` method. This prevents a ``TypeError`` from being raised when the strategy is used (https://github.com/ansible/ansible/issues/77025).
|
||||
- script - skip in check mode since the plugin cannot determine if a change will occur.
|
||||
- shell/command - only skip in check mode if the options `creates` and `removes` are both None.
|
||||
- winrm - Ensure ``kinit`` is run with the same ``PATH`` env var as the Ansible process
|
||||
|
||||
v2.12.4
|
||||
=======
|
||||
|
||||
Release Summary
|
||||
---------------
|
||||
|
||||
| Release Date: 2022-03-28
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
|
||||
|
||||
Bugfixes
|
||||
--------
|
||||
|
||||
- Add a YAML representer for ``NativeJinjaText``
|
||||
- Add a YAML representer for ``NativeJinjaUnsafeText``
|
||||
- AnsiballZ - Ensure we use the full python package in the module cache filename to avoid a case where ``collections:`` is used to execute a module via short name, where the short name duplicates another module from ``ansible.builtin`` or another collection that was executed previously.
|
||||
- Fix collection filter/test plugin redirects (https://github.com/ansible/ansible/issues/77192).
|
||||
- ansible-galaxy collection verify - display files/directories not included in the FILES.json as modified content.
|
||||
- ansible-test - Fix ``windows-integration`` and ``network-integration`` when used with the ``--docker`` option and user-provided inventory.
|
||||
- extend timeout for ansible-galaxy when communicating with the galaxy server api, and apply it to all interactions with the api
|
||||
- first_found - fix to allow for spaces in file names (https://github.com/ansible/ansible/issues/77136)
|
||||
- unarchive - the ``io_buffer_size`` option added in 2.12 was not accepted by the module (https://github.com/ansible/ansible/pull/77271).
|
||||
|
||||
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
|
||||
=======
|
||||
|
||||
Release Summary
|
||||
---------------
|
||||
|
||||
| Release Date: 2021-11-05
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
|
||||
|
||||
@ -141,6 +394,7 @@ Minor Changes
|
||||
- ansible-test - Update ``typed-ast`` constraint to version 1.4.3 for compatibility with Python 3.10.
|
||||
- ansible-test - Update distribution test containers from version 2.0.1 to 2.0.2.
|
||||
- ansible-test - Update the Ansible Core and Ansible Collection default test containers to 3.2.0 and 3.2.2 respectively.
|
||||
- ansible-test - Update the ``base`` and ``default`` containers from Python 3.10.0rc2 to 3.10.0.
|
||||
- ansible-test - Update the ``import`` sanity test to avoid a new warning in Python 3.10.
|
||||
- ansible-test - Update the ``runtime-metadata`` sanity test to handle a new warning on Python 3.10.
|
||||
- ansible-test - Updated the ``default`` containers to version 4.0.1.
|
||||
@ -255,6 +509,7 @@ Removed Features (previously deprecated)
|
||||
Security Fixes
|
||||
--------------
|
||||
|
||||
- Do not include params in exception when a call to ``set_options`` fails. Additionally, block the exception that is returned from being displayed to stdout. (CVE-2021-3620)
|
||||
- templating engine fix for not preserving usnafe status when trying to preserve newlines. CVE-2021-3583
|
||||
|
||||
Bugfixes
|
||||
@ -311,20 +566,24 @@ Bugfixes
|
||||
- ansible-test - Avoid publishing the port used by the ``pypi-test-container`` since it is only accessed by other containers. This avoids issues when trying to run tests in parallel on a single host.
|
||||
- ansible-test - Failure to download test results from a remote host no longer hide test failures. If a download failure occurs after tests fail, a warning will be issued instead.
|
||||
- ansible-test - Fix docker container IP address detection. The ``bridge`` network is no longer assumed to be the default.
|
||||
- ansible-test - Fix path to inventory file for ``windows-integration`` and ``network-integration`` commands for collections.
|
||||
- ansible-test - Fix traceback when generating coverage reports and no coverage directory exists.
|
||||
- ansible-test - Random port selection is no longer handled by ``ansible-test``, avoiding possible port conflicts. Previously ``ansible-test`` would, under some circumstances, use one host's available ports to determine those of another host.
|
||||
- ansible-test - Running tests in a single test run with multiple "cloud" plugins no longer results in port conflicts. Previously two or more containers with overlapping ports could not be used in the same test run.
|
||||
- ansible-test - Tab completion after options like ``--docker`` which accept an optional argument will no longer provide incorrect completions.
|
||||
- ansible-test - The ``--python`` and ``--venv`` options are no longer ignored by some commands, such as ``coverage``.
|
||||
- ansible-test - The ``docker inspect`` command is now used to check for existing images instead of the ``docker images`` command. This resolves an issue where a ``docker pull`` would be unnecessarily executed for an image referenced by checksum.
|
||||
- ansible-test - Update distribution test containers to version 3.1.0.
|
||||
- ansible-test - Use ``--strict`` for ``pytest`` on Python 2.6 since ``--strict-markers`` is not available.
|
||||
- ansible-test - Use documented API to retrieve build information from Azure Pipelines.
|
||||
- ansible-test - Use pwsh to generate correct coverage line counts for stub files to get a more accurate coverage result
|
||||
- ansible-test - Use the correct variable to reference the client's SSH key when generating inventory.
|
||||
- ansible-test - add packaging python module to ``ansible-doc`` sanity test requirements.
|
||||
- ansible-test - allow the same listening port on all container interfaces
|
||||
- ansible-test - ensure the correct unit test target is given when the ``__init__.py`` file is modified inside the connection plugins directory
|
||||
- ansible-test - make the ``a/`` and ``b/`` prefixes an optional match since these can be turned off with the ``diff.noprefix`` setting in ``git``
|
||||
- ansible-test - restrict ``packaging`` to ``< 21.0`` for Python ``< 3.6`` (https://github.com/ansible/ansible/pull/75186).
|
||||
- ansible-test pslint - Fix error when encountering validation results that are highly nested - https://github.com/ansible/ansible/issues/74151
|
||||
- ansible-test validate-modules - EXAMPLES will no longer be marked as invalid YAML when it uses Ansible-specific YAML tags (https://github.com/ansible/ansible/pull/74384).
|
||||
- ansible-test validate-modules - correctly validate positional parameters to ``AnsibleModules`` (https://github.com/ansible/ansible/pull/75332).
|
||||
- ansible.builtin.cron - Keep non-empty crontabs, when removing cron jobs (https://github.com/ansible/ansible/pull/74497).
|
||||
|
||||
@ -1,5 +1,16 @@
|
||||
ancestor: 2.11.0
|
||||
releases:
|
||||
2.12.0:
|
||||
changes:
|
||||
release_summary: '| Release Date: 2021-11-05
|
||||
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
|
||||
'
|
||||
codename: Dazed and Confused
|
||||
fragments:
|
||||
- v2.12.0_summary.yaml
|
||||
release_date: '2021-11-05'
|
||||
2.12.0b1:
|
||||
changes:
|
||||
breaking_changes:
|
||||
@ -1029,6 +1040,480 @@ releases:
|
||||
- when-eval-native-py310.yml
|
||||
- winrm-kinit-env.yml
|
||||
- world_readable_fixes.yml
|
||||
plugins:
|
||||
filter: []
|
||||
release_date: '2021-09-27'
|
||||
2.12.0b2:
|
||||
changes:
|
||||
bugfixes:
|
||||
- ansible-test - Fix path to inventory file for ``windows-integration`` and
|
||||
``network-integration`` commands for collections.
|
||||
- ansible-test - Update distribution test containers to version 3.1.0.
|
||||
- ansible-test - Use the correct variable to reference the client's SSH key
|
||||
when generating inventory.
|
||||
- ansible-test pslint - Fix error when encountering validation results that
|
||||
are highly nested - https://github.com/ansible/ansible/issues/74151
|
||||
minor_changes:
|
||||
- ansible-test - Update the ``base`` and ``default`` containers from Python
|
||||
3.10.0rc2 to 3.10.0.
|
||||
release_summary: '| Release Date: 2021-10-11
|
||||
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
|
||||
'
|
||||
security_fixes:
|
||||
- Do not include params in exception when a call to ``set_options`` fails. Additionally,
|
||||
block the exception that is returned from being displayed to stdout. (CVE-2021-3620)
|
||||
codename: Dazed and Confused
|
||||
fragments:
|
||||
- ansible-test-default-base-containers-python-3.10.yaml
|
||||
- ansible-test-distro-containers-3.1.0.yaml
|
||||
- ansible-test-inventory-path.yaml
|
||||
- ansible-test-inventory-ssh-key.yml
|
||||
- avoid-set_options-leak.yaml
|
||||
- pslint-sanity-warning.yml
|
||||
- v2.12.0b2_summary.yaml
|
||||
release_date: '2021-10-11'
|
||||
2.12.0rc1:
|
||||
changes:
|
||||
release_summary: '| Release Date: 2021-10-18
|
||||
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
|
||||
'
|
||||
codename: Dazed and Confused
|
||||
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'
|
||||
2.12.4:
|
||||
changes:
|
||||
release_summary: '| Release Date: 2022-03-28
|
||||
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
|
||||
'
|
||||
codename: Dazed and Confused
|
||||
fragments:
|
||||
- v2.12.4_summary.yaml
|
||||
release_date: '2022-03-28'
|
||||
2.12.4rc1:
|
||||
changes:
|
||||
bugfixes:
|
||||
- Add a YAML representer for ``NativeJinjaText``
|
||||
- Add a YAML representer for ``NativeJinjaUnsafeText``
|
||||
- AnsiballZ - Ensure we use the full python package in the module cache filename
|
||||
to avoid a case where ``collections:`` is used to execute a module via short
|
||||
name, where the short name duplicates another module from ``ansible.builtin``
|
||||
or another collection that was executed previously.
|
||||
- Fix collection filter/test plugin redirects (https://github.com/ansible/ansible/issues/77192).
|
||||
- ansible-galaxy collection verify - display files/directories not included
|
||||
in the FILES.json as modified content.
|
||||
- ansible-test - Fix ``windows-integration`` and ``network-integration`` when
|
||||
used with the ``--docker`` option and user-provided inventory.
|
||||
- extend timeout for ansible-galaxy when communicating with the galaxy server
|
||||
api, and apply it to all interactions with the api
|
||||
- first_found - fix to allow for spaces in file names (https://github.com/ansible/ansible/issues/77136)
|
||||
- unarchive - the ``io_buffer_size`` option added in 2.12 was not accepted by
|
||||
the module (https://github.com/ansible/ansible/pull/77271).
|
||||
release_summary: '| Release Date: 2022-03-21
|
||||
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
|
||||
'
|
||||
codename: Dazed and Confused
|
||||
fragments:
|
||||
- 76690-fix-ansible-galaxy-collection-verify-modified-content.yaml
|
||||
- 77136-first_found-spaces-in-names.yml
|
||||
- 77210-fix-collection-filter-test-redirects.yml
|
||||
- 77271-unarchive.yml
|
||||
- ansible-test-delegation-inventory.yaml
|
||||
- ansible_galaxy_timeout.yml
|
||||
- fqn-module-cache.yml
|
||||
- nativejinjatext-yaml-representer.yml
|
||||
- nativejinjaunsafetext-yaml-representer.yml
|
||||
- v2.12.4rc1_summary.yaml
|
||||
release_date: '2022-03-21'
|
||||
2.12.5:
|
||||
changes:
|
||||
release_summary: '| Release Date: 2022-04-25
|
||||
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
|
||||
'
|
||||
codename: Dazed and Confused
|
||||
fragments:
|
||||
- v2.12.5_summary.yaml
|
||||
release_date: '2022-04-25'
|
||||
2.12.5rc1:
|
||||
changes:
|
||||
bugfixes:
|
||||
- Ansible.ModuleUtils.SID - Use user principal name as is for lookup in the
|
||||
``Convert-ToSID`` function - https://github.com/ansible/ansible/issues/77316
|
||||
- Fix traceback when installing a collection from a git repository and git is
|
||||
not installed (https://github.com/ansible/ansible/issues/77479).
|
||||
- ansible-test - Correctly detect when running as the ``root`` user (UID 0)
|
||||
on the origin host. The result of the detection was incorrectly being inverted.
|
||||
- ansible-test - Fix skipping of tests marked ``needs/python`` on the origin
|
||||
host.
|
||||
- ansible-test - Fix skipping of tests marked ``needs/root`` on the origin host.
|
||||
- ansible-test compile sanity test - do not crash if a column could not be determined
|
||||
for an error (https://github.com/ansible/ansible/pull/77465).
|
||||
- hostname - use ``file_get_content()`` to read the file containing the host
|
||||
name in the ``FileStrategy.get_permanent_hostname()`` method. This prevents
|
||||
a ``TypeError`` from being raised when the strategy is used (https://github.com/ansible/ansible/issues/77025).
|
||||
- script - skip in check mode since the plugin cannot determine if a change
|
||||
will occur.
|
||||
- shell/command - only skip in check mode if the options `creates` and `removes`
|
||||
are both None.
|
||||
- winrm - Ensure ``kinit`` is run with the same ``PATH`` env var as the Ansible
|
||||
process
|
||||
release_summary: '| Release Date: 2022-04-18
|
||||
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
|
||||
'
|
||||
codename: Dazed and Confused
|
||||
fragments:
|
||||
- 76353-fix-check-mode-skipping.yaml
|
||||
- 77074-hostname-fix-typeerror-in-filestrategy.yml
|
||||
- 77465-ansible-test-compile-crash.yml
|
||||
- 77493-ansible-galaxy-find-git-executable-before-using.yaml
|
||||
- ModuleUtils.SID-long-username.yml
|
||||
- ansible-test-target-filter.yml
|
||||
- v2.12.5rc1_summary.yaml
|
||||
- winrm-kinit-path.yml
|
||||
release_date: '2022-04-18'
|
||||
2.12.6:
|
||||
changes:
|
||||
release_summary: '| Release Date: 2022-05-23
|
||||
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
|
||||
'
|
||||
codename: Dazed and Confused
|
||||
fragments:
|
||||
- v2.12.6_summary.yaml
|
||||
release_date: '2022-05-23'
|
||||
2.12.6rc1:
|
||||
changes:
|
||||
bugfixes:
|
||||
- Prevent losing unsafe on results returned from lookups (https://github.com/ansible/ansible/issues/77535)
|
||||
- arg_spec - Fix incorrect ``no_log`` warning when a parameter alias is used
|
||||
(https://github.com/ansible/ansible/pull/77576)
|
||||
- plugin loader will now load config data for plugin by name instead of by file
|
||||
to avoid issues with the same file being loaded under different names (fqcn
|
||||
+ short name).
|
||||
- variablemanager, more efficient read of vars files
|
||||
release_summary: '| Release Date: 2022-05-16
|
||||
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
|
||||
'
|
||||
codename: Dazed and Confused
|
||||
fragments:
|
||||
- 77535-prevent-losing-unsafe-lookups.yml
|
||||
- 77576-arg_spec-no_log-aliases.yml
|
||||
- config_load_by_name.yml
|
||||
- v2.12.6rc1_summary.yaml
|
||||
- vm_more_efficient.yml
|
||||
release_date: '2022-05-16'
|
||||
2.12.7rc1:
|
||||
changes:
|
||||
bugfixes:
|
||||
- pip - fix cases where resolution of pip Python module fails when importlib.util
|
||||
has not already been imported
|
||||
- plugin loader - Sort results when fuzzy matching plugin names (https://github.com/ansible/ansible/issues/77966).
|
||||
minor_changes:
|
||||
- "Add an 'action_plugin' field for modules in runtime.yml plugin_routing.\n\nThis
|
||||
fixes module_defaults by supporting modules-as-redirected-actions\nwithout
|
||||
redirecting module_defaults entries to the common action.\n\n.. code: yaml\n\n
|
||||
\ plugin_routing:\n action:\n facts:\n redirect: ns.coll.eos\n
|
||||
\ command:\n redirect: ns.coll.eos\n modules:\n facts:\n
|
||||
\ redirect: ns.coll.eos_facts\n command:\n redirect:
|
||||
ns.coll.eos_command\n\nWith the runtime.yml above for ns.coll, a task such
|
||||
as\n\n.. code: yaml\n\n - hosts: all\n module_defaults:\n ns.coll.eos_facts:
|
||||
{'valid_for_eos_facts': 'value'}\n ns.coll.eos_command: {'not_valid_for_eos_facts':
|
||||
'value'}\n tasks:\n - ns.coll.facts:\n\nwill end up with defaults
|
||||
for eos_facts and eos_command\nsince both modules redirect to the same action.\n\nTo
|
||||
select an action plugin for a module without merging\nmodule_defaults, define
|
||||
an action_plugin field for the resolved\nmodule in the runtime.yml.\n\n..
|
||||
code: yaml\n\n plugin_routing:\n modules:\n facts:\n redirect:
|
||||
ns.coll.eos_facts\n action_plugin: ns.coll.eos\n command:\n
|
||||
\ redirect: ns.coll.eos_command\n action_plugin: ns.coll.eos\n\nThe
|
||||
action_plugin field can be a redirected action plugin, as\nit is resolved
|
||||
normally.\n\nUsing the modified runtime.yml, the example task will only use\nthe
|
||||
ns.coll.eos_facts defaults.\n"
|
||||
- ansible-test - Avoid using the ``mock_use_standalone_module`` setting for
|
||||
unit tests running on Python 3.8 or later.
|
||||
release_summary: '| Release Date: 2022-06-13
|
||||
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
|
||||
'
|
||||
codename: Dazed and Confused
|
||||
fragments:
|
||||
- 77265-module_defaults-with-modules-as-redirected-actions.yaml
|
||||
- ansible-test-ansible-core-mock.yml
|
||||
- pip-lazy-import.yml
|
||||
- plugin-loader-deterministic-fuzzy-match.yml
|
||||
- v2.12.7rc1_summary.yaml
|
||||
release_date: '2022-06-13'
|
||||
|
||||
5
changelogs/fragments/74127-bad-filter-2.yml
Normal file
5
changelogs/fragments/74127-bad-filter-2.yml
Normal file
@ -0,0 +1,5 @@
|
||||
bugfixes:
|
||||
- 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
|
||||
2
changelogs/fragments/74349-improve-docker-detection.yml
Normal file
2
changelogs/fragments/74349-improve-docker-detection.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- setup - detect docker container with check for ./dockerenv or ./dockinit (https://github.com/ansible/ansible/pull/74349).
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- validate_argument_spec - Skip suboption validation if the top level option is an invalid type (https://github.com/ansible/ansible/issues/75612).
|
||||
@ -0,0 +1,3 @@
|
||||
bugfixes:
|
||||
- unarchive - Fix zip archive file listing that caused issues with content
|
||||
postprocessing (https://github.com/ansible/ansible/issues/76067).
|
||||
2
changelogs/fragments/76336-yum-makecache-fast.yml
Normal file
2
changelogs/fragments/76336-yum-makecache-fast.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- yum - prevent storing unnecessary cache data by running `yum makecache fast` (https://github.com/ansible/ansible/issues/76336)
|
||||
3
changelogs/fragments/76353-fix-check-mode-skipping.yaml
Normal file
3
changelogs/fragments/76353-fix-check-mode-skipping.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
bugfixes:
|
||||
- shell/command - only skip in check mode if the options `creates` and `removes` are both None.
|
||||
- script - skip in check mode since the plugin cannot determine if a change will occur.
|
||||
2
changelogs/fragments/76379-set-finalize-on-new-env.yml
Normal file
2
changelogs/fragments/76379-set-finalize-on-new-env.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "``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)"
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Fix ``AttributeError`` when providing password file via ``--connection-password-file`` (https://github.com/ansible/ansible/issues/76530)
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- unarchive - Make extraction work when the LANGUAGE environment variable is set to a non-English locale.
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Fix ``end_play`` to end the current play only (https://github.com/ansible/ansible/issues/76672)
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-galaxy collection verify - display files/directories not included in the FILES.json as modified content.
|
||||
3
changelogs/fragments/76729-async-callback-perf.yml
Normal file
3
changelogs/fragments/76729-async-callback-perf.yml
Normal file
@ -0,0 +1,3 @@
|
||||
bugfixes:
|
||||
- async - Improve performance of sending async callback events by never sending the full task through the queue
|
||||
(https://github.com/ansible/ansible/issues/76729)
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-galaxy - Fix using the '--ignore-certs' option when there is no server-specific configuration for the Galaxy server.
|
||||
@ -0,0 +1,4 @@
|
||||
bugfixes:
|
||||
- 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)
|
||||
3
changelogs/fragments/76792-hostname-all-systemd.yml
Normal file
3
changelogs/fragments/76792-hostname-all-systemd.yml
Normal file
@ -0,0 +1,3 @@
|
||||
bugfixes:
|
||||
- hostname - Do not require SystemdStrategy subclasses for every distro
|
||||
(https://github.com/ansible/ansible/issues/76792)
|
||||
3
changelogs/fragments/77004-restore-missing-default.yml
Normal file
3
changelogs/fragments/77004-restore-missing-default.yml
Normal file
@ -0,0 +1,3 @@
|
||||
bugfixes:
|
||||
- template lookup - restore inadvertently deleted default for ``convert_data``
|
||||
(https://github.com/ansible/ansible/issues/77004)
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- hostname - use ``file_get_content()`` to read the file containing the host name in the ``FileStrategy.get_permanent_hostname()`` method. This prevents a ``TypeError`` from being raised when the strategy is used (https://github.com/ansible/ansible/issues/77025).
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- first_found - fix to allow for spaces in file names (https://github.com/ansible/ansible/issues/77136)
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Fix collection filter/test plugin redirects (https://github.com/ansible/ansible/issues/77192).
|
||||
@ -0,0 +1,55 @@
|
||||
minor_changes:
|
||||
- |
|
||||
Add an 'action_plugin' field for modules in runtime.yml plugin_routing.
|
||||
|
||||
This fixes module_defaults by supporting modules-as-redirected-actions
|
||||
without redirecting module_defaults entries to the common action.
|
||||
|
||||
.. code: yaml
|
||||
|
||||
plugin_routing:
|
||||
action:
|
||||
facts:
|
||||
redirect: ns.coll.eos
|
||||
command:
|
||||
redirect: ns.coll.eos
|
||||
modules:
|
||||
facts:
|
||||
redirect: ns.coll.eos_facts
|
||||
command:
|
||||
redirect: ns.coll.eos_command
|
||||
|
||||
With the runtime.yml above for ns.coll, a task such as
|
||||
|
||||
.. code: yaml
|
||||
|
||||
- hosts: all
|
||||
module_defaults:
|
||||
ns.coll.eos_facts: {'valid_for_eos_facts': 'value'}
|
||||
ns.coll.eos_command: {'not_valid_for_eos_facts': 'value'}
|
||||
tasks:
|
||||
- ns.coll.facts:
|
||||
|
||||
will end up with defaults for eos_facts and eos_command
|
||||
since both modules redirect to the same action.
|
||||
|
||||
To select an action plugin for a module without merging
|
||||
module_defaults, define an action_plugin field for the resolved
|
||||
module in the runtime.yml.
|
||||
|
||||
.. code: yaml
|
||||
|
||||
plugin_routing:
|
||||
modules:
|
||||
facts:
|
||||
redirect: ns.coll.eos_facts
|
||||
action_plugin: ns.coll.eos
|
||||
command:
|
||||
redirect: ns.coll.eos_command
|
||||
action_plugin: ns.coll.eos
|
||||
|
||||
The action_plugin field can be a redirected action plugin, as
|
||||
it is resolved normally.
|
||||
|
||||
Using the modified runtime.yml, the example task will only use
|
||||
the ns.coll.eos_facts defaults.
|
||||
2
changelogs/fragments/77271-unarchive.yml
Normal file
2
changelogs/fragments/77271-unarchive.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "unarchive - the ``io_buffer_size`` option added in 2.12 was not accepted by the module (https://github.com/ansible/ansible/pull/77271)."
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "ansible-test compile sanity test - do not crash if a column could not be determined for an error (https://github.com/ansible/ansible/pull/77465)."
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Fix traceback when installing a collection from a git repository and git is not installed (https://github.com/ansible/ansible/issues/77479).
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Prevent losing unsafe on results returned from lookups (https://github.com/ansible/ansible/issues/77535)
|
||||
2
changelogs/fragments/77576-arg_spec-no_log-aliases.yml
Normal file
2
changelogs/fragments/77576-arg_spec-no_log-aliases.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- arg_spec - Fix incorrect ``no_log`` warning when a parameter alias is used (https://github.com/ansible/ansible/pull/77576)
|
||||
2
changelogs/fragments/ModuleUtils.SID-long-username.yml
Normal file
2
changelogs/fragments/ModuleUtils.SID-long-username.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Ansible.ModuleUtils.SID - Use user principal name as is for lookup in the ``Convert-ToSID`` function - https://github.com/ansible/ansible/issues/77316
|
||||
3
changelogs/fragments/ansible-test-alpine3-update.yaml
Normal file
3
changelogs/fragments/ansible-test-alpine3-update.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
minor_changes:
|
||||
- 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.
|
||||
2
changelogs/fragments/ansible-test-ansible-core-mock.yml
Normal file
2
changelogs/fragments/ansible-test-ansible-core-mock.yml
Normal file
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- ansible-test - Avoid using the ``mock_use_standalone_module`` setting for unit tests running on Python 3.8 or later.
|
||||
2
changelogs/fragments/ansible-test-bootstrap-pip.yml
Normal file
2
changelogs/fragments/ansible-test-bootstrap-pip.yml
Normal file
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- ansible-test - Update ``pip`` used to bootstrap remote FreeBSD instances from version 20.3.4 to 21.3.1.
|
||||
2
changelogs/fragments/ansible-test-ci-files.yaml
Normal file
2
changelogs/fragments/ansible-test-ci-files.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Use https://ci-files.testing.ansible.com/ for instance bootstrapping instead of an S3 endpoint.
|
||||
3
changelogs/fragments/ansible-test-container-images.yml
Normal file
3
changelogs/fragments/ansible-test-container-images.yml
Normal file
@ -0,0 +1,3 @@
|
||||
minor_changes:
|
||||
- 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.
|
||||
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- ansible-test - Update the ``base`` and ``default`` containers from Python 3.10.0rc2 to 3.10.0.
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Update the ``default`` containers to version 4.1.1, which includes the updated ``import`` sanity test requirements.
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Update the ``default`` containers to version 4.2.0.
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Fix ``windows-integration`` and ``network-integration`` when used with the ``--docker`` option and user-provided inventory.
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Fix traceback when running from an install and delegating execution to a different Python interpreter.
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Update distribution test containers to version 3.1.0.
|
||||
5
changelogs/fragments/ansible-test-import-collections.yml
Normal file
5
changelogs/fragments/ansible-test-import-collections.yml
Normal file
@ -0,0 +1,5 @@
|
||||
bugfixes:
|
||||
- ansible-test - The ``import`` sanity test no longer reports errors about ``packaging`` being missing when testing collections.
|
||||
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.
|
||||
2
changelogs/fragments/ansible-test-inventory-path.yaml
Normal file
2
changelogs/fragments/ansible-test-inventory-path.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Fix path to inventory file for ``windows-integration`` and ``network-integration`` commands for collections.
|
||||
2
changelogs/fragments/ansible-test-inventory-ssh-key.yml
Normal file
2
changelogs/fragments/ansible-test-inventory-ssh-key.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Use the correct variable to reference the client's SSH key when generating inventory.
|
||||
@ -0,0 +1,6 @@
|
||||
bugfixes:
|
||||
- ansible-test - Use relative paths in JUnit files generated during integration test runs.
|
||||
- ansible-test - Replace the directory portion of out-of-tree paths in JUnit files from integration tests with the ``out-of-tree:`` prefix.
|
||||
- junit callback - Fix traceback during automatic fact gathering when using relative paths.
|
||||
minor_changes:
|
||||
- junit callback - Add support for replacing the directory portion of out-of-tree relative task paths with a placeholder.
|
||||
2
changelogs/fragments/ansible-test-links.yml
Normal file
2
changelogs/fragments/ansible-test-links.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Update help links to reference ``ansible-core`` instead of ``ansible``.
|
||||
15
changelogs/fragments/ansible-test-managed-venv.yml
Normal file
15
changelogs/fragments/ansible-test-managed-venv.yml
Normal file
@ -0,0 +1,15 @@
|
||||
bugfixes:
|
||||
- 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.
|
||||
- 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 - 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.
|
||||
minor_changes:
|
||||
- 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.
|
||||
2
changelogs/fragments/ansible-test-pyopenssl.yaml
Normal file
2
changelogs/fragments/ansible-test-pyopenssl.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- ansible-test - Installation of ``cryptography`` is no longer version constrained when ``openssl`` 1.1.0 or later is installed.
|
||||
2
changelogs/fragments/ansible-test-pytest-forked.yml
Normal file
2
changelogs/fragments/ansible-test-pytest-forked.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Update unit tests to use the ``--forked`` option instead of the deprecated ``--boxed`` option.
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Relocate constants to eliminate symlink.
|
||||
@ -0,0 +1,3 @@
|
||||
bugfixes:
|
||||
- ansible-test - Target integration test requirements are now correctly installed for target environments running on the controller.
|
||||
- ansible-test - Automatic target requirements installation is now based on the target environment instead of the controller environment.
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Use the legacy collection loader for ``import`` sanity tests on target-only Python versions.
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Fix traceback in ``import`` sanity test on Python 2.7 when ``pip`` is not available.
|
||||
2
changelogs/fragments/ansible-test-sanity-import.yml
Normal file
2
changelogs/fragments/ansible-test-sanity-import.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Fix installation and usage of ``pyyaml`` requirement for the ``import`` sanity test for collections.
|
||||
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- ansible-test - Requirements for the plugin import test are now frozen.
|
||||
2
changelogs/fragments/ansible-test-sanity-vendoring.yml
Normal file
2
changelogs/fragments/ansible-test-sanity-vendoring.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Fix the ``import`` sanity test to work properly when Ansible's built-in vendoring support is in use.
|
||||
5
changelogs/fragments/ansible-test-target-filter.yml
Normal file
5
changelogs/fragments/ansible-test-target-filter.yml
Normal file
@ -0,0 +1,5 @@
|
||||
bugfixes:
|
||||
- ansible-test - Correctly detect when running as the ``root`` user (UID 0) on the origin host.
|
||||
The result of the detection was incorrectly being inverted.
|
||||
- ansible-test - Fix skipping of tests marked ``needs/root`` on the origin host.
|
||||
- ansible-test - Fix skipping of tests marked ``needs/python`` on the origin host.
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Show an error message instead of a traceback when running outside of a supported directory.
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Fix the ``validate-modules`` sanity test to avoid double-loading the collection loader and possibly failing on import of the ``packaging`` module.
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Fix traceback in the ``validate-modules`` sanity test when testing an Ansible module without any callables.
|
||||
2
changelogs/fragments/ansible-test-venv-real-prefix.yaml
Normal file
2
changelogs/fragments/ansible-test-venv-real-prefix.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Fix Python real prefix detection when running in a ``venv`` virtual environment.
|
||||
2
changelogs/fragments/ansible-test-yaml-import.yaml
Normal file
2
changelogs/fragments/ansible-test-yaml-import.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Import ``yaml.cyaml.CParser`` instead of ``_yaml.CParser`` in the ``yamllint`` sanity test.
|
||||
2
changelogs/fragments/ansible_galaxy_timeout.yml
Normal file
2
changelogs/fragments/ansible_galaxy_timeout.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- extend timeout for ansible-galaxy when communicating with the galaxy server api, and apply it to all interactions with the api
|
||||
5
changelogs/fragments/avoid-set_options-leak.yaml
Normal file
5
changelogs/fragments/avoid-set_options-leak.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
security_fixes:
|
||||
- Do not include params in exception when a call to ``set_options`` fails.
|
||||
Additionally, block the exception that is returned from being displayed to stdout.
|
||||
(CVE-2021-3620)
|
||||
2
changelogs/fragments/clean_facts_values.yml
Normal file
2
changelogs/fragments/clean_facts_values.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- cleaning facts will now only warn about the variable name and not post the content, which can be undesireable to disclose
|
||||
2
changelogs/fragments/config_fix_terms.yml
Normal file
2
changelogs/fragments/config_fix_terms.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-config avoid showing _terms and _input when --only-changed.
|
||||
2
changelogs/fragments/config_load_by_name.yml
Normal file
2
changelogs/fragments/config_load_by_name.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- plugin loader will now load config data for plugin by name instead of by file to avoid issues with the same file being loaded under different names (fqcn + short name).
|
||||
2
changelogs/fragments/fix_block_var_inh.yml
Normal file
2
changelogs/fragments/fix_block_var_inh.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- correctly inherit vars from parent in block (https://github.com/ansible/ansible/issues/75286).
|
||||
2
changelogs/fragments/fix_fax_delegation_loops.yml
Normal file
2
changelogs/fragments/fix_fax_delegation_loops.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- 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.
|
||||
2
changelogs/fragments/fix_sudo_flag_mangling.yml
Normal file
2
changelogs/fragments/fix_sudo_flag_mangling.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- sudo become plugin, fix handling of non interactive flags, previous substitution was too naive
|
||||
5
changelogs/fragments/fqn-module-cache.yml
Normal file
5
changelogs/fragments/fqn-module-cache.yml
Normal file
@ -0,0 +1,5 @@
|
||||
bugfixes:
|
||||
- AnsiballZ - Ensure we use the full python package in the module cache filename
|
||||
to avoid a case where ``collections:`` is used to execute a module via short name,
|
||||
where the short name duplicates another module from ``ansible.builtin`` or another
|
||||
collection that was executed previously.
|
||||
4
changelogs/fragments/galaxy-build-files-ignore.yml
Normal file
4
changelogs/fragments/galaxy-build-files-ignore.yml
Normal file
@ -0,0 +1,4 @@
|
||||
bugfixes:
|
||||
- >-
|
||||
ansible-galaxy collection build - Ignore any existing ``MANIFEST.json`` and ``FILES.json`` in the root directory
|
||||
when building a collection.
|
||||
2
changelogs/fragments/gather_facts_collections.yml
Normal file
2
changelogs/fragments/gather_facts_collections.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- gather_facts action now handles the move of base connection plugin types into collections to add/prevent subset argument correctly
|
||||
2
changelogs/fragments/include_vars_failed.yml
Normal file
2
changelogs/fragments/include_vars_failed.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- include_vars, properly initialize variable as there is corner case in which it can end up referenced and not defined
|
||||
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- jinja2_native - keep same behavior on Python 3.10.
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- junit callback - Fix unicode error when handling non-ASCII task paths.
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Add a YAML representer for ``NativeJinjaText``
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Add a YAML representer for ``NativeJinjaUnsafeText``
|
||||
2
changelogs/fragments/pip-lazy-import.yml
Normal file
2
changelogs/fragments/pip-lazy-import.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- pip - fix cases where resolution of pip Python module fails when importlib.util has not already been imported
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- plugin loader - Sort results when fuzzy matching plugin names (https://github.com/ansible/ansible/issues/77966).
|
||||
2
changelogs/fragments/pslint-sanity-warning.yml
Normal file
2
changelogs/fragments/pslint-sanity-warning.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test pslint - Fix error when encountering validation results that are highly nested - https://github.com/ansible/ansible/issues/74151
|
||||
2
changelogs/fragments/set_fact_delegation.yml
Normal file
2
changelogs/fragments/set_fact_delegation.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- set_fact/include_vars correctly handle delegation assignments within loops
|
||||
2
changelogs/fragments/ssh_debug_noparse.yml
Normal file
2
changelogs/fragments/ssh_debug_noparse.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ssh connection avoid parsing ssh cli debug lines as they can match expected output at high verbosities.
|
||||
2
changelogs/fragments/ssh_quote_cp.yml
Normal file
2
changelogs/fragments/ssh_quote_cp.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ssh connection - properly quote controlpersist path given by user to avoid issues with spaces and other characters
|
||||
2
changelogs/fragments/ssh_use_right_host.yml
Normal file
2
changelogs/fragments/ssh_use_right_host.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ssh connection now uses more correct host source as play_context can ignore loop/delegation variations.
|
||||
3
changelogs/fragments/v2.12.0_summary.yaml
Normal file
3
changelogs/fragments/v2.12.0_summary.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
release_summary: |
|
||||
| Release Date: 2021-11-05
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
3
changelogs/fragments/v2.12.0b2_summary.yaml
Normal file
3
changelogs/fragments/v2.12.0b2_summary.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
release_summary: |
|
||||
| Release Date: 2021-10-11
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
3
changelogs/fragments/v2.12.0rc1_summary.yaml
Normal file
3
changelogs/fragments/v2.12.0rc1_summary.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
release_summary: |
|
||||
| Release Date: 2021-10-18
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
3
changelogs/fragments/v2.12.1_summary.yaml
Normal file
3
changelogs/fragments/v2.12.1_summary.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
release_summary: |
|
||||
| Release Date: 2021-12-06
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
3
changelogs/fragments/v2.12.1rc1_summary.yaml
Normal file
3
changelogs/fragments/v2.12.1rc1_summary.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
release_summary: |
|
||||
| Release Date: 2021-11-29
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
3
changelogs/fragments/v2.12.2_summary.yaml
Normal file
3
changelogs/fragments/v2.12.2_summary.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
release_summary: |
|
||||
| Release Date: 2022-01-31
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
3
changelogs/fragments/v2.12.2rc1_summary.yaml
Normal file
3
changelogs/fragments/v2.12.2rc1_summary.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
release_summary: |
|
||||
| Release Date: 2022-01-24
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
3
changelogs/fragments/v2.12.3_summary.yaml
Normal file
3
changelogs/fragments/v2.12.3_summary.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
release_summary: |
|
||||
| Release Date: 2022-02-28
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
3
changelogs/fragments/v2.12.3rc1_summary.yaml
Normal file
3
changelogs/fragments/v2.12.3rc1_summary.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
release_summary: |
|
||||
| Release Date: 2022-02-23
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
3
changelogs/fragments/v2.12.4_summary.yaml
Normal file
3
changelogs/fragments/v2.12.4_summary.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
release_summary: |
|
||||
| Release Date: 2022-03-28
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user