pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/ansible-core



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Feb  9 09:59:37 UTC 2023

Modified Files:
        pkgsrc/sysutils/ansible-core: Makefile PLIST distinfo

Log Message:
ansible-core: updated to 2.14.2

v2.14.2
=======

Major Changes
-------------

- ansible-test - Docker Desktop on WSL2 is now supported (additional configuration required).
- ansible-test - Docker and Podman are now supported on hosts with cgroup v2 unified. Previously only cgroup v1 and cgroup v2 hybrid were supported.
- ansible-test - Podman now works on container hosts without systemd. Previously only some containers worked, while others required rootfull or rootless Podman, but would not work with both. Some 
containers did not work at all.
- ansible-test - Podman on WSL2 is now supported.
- ansible-test - When additional cgroup setup is required on the container host, this will be automatically detected. Instructions on how to configure the host will be provided in the error message 
shown.

Minor Changes
-------------

- ansible-test - A new ``audit`` option is available when running custom containers. This option can be used to indicate whether a container requires the AUDIT_WRITE capability. The default is 
``required``, which most containers will need when using Podman. If necessary, the ``none`` option can be used to opt-out of the capability. This has no effect on Docker, which always provides the 
capability.
- ansible-test - A new ``cgroup`` option is available when running custom containers. This option can be used to indicate a container requires cgroup v1 or that it does not use cgroup. The default 
behavior assumes the container works with cgroup v2 (as well as v1).
- ansible-test - Additional log details are shown when containers fail to start or SSH connections to containers fail.
- ansible-test - Connection failures to remote provisioned hosts now show failure details as a warning.
- ansible-test - Containers included with ansible-test no longer disable seccomp by default.
- ansible-test - Failure to connect to a container over SSH now results in a clear error. Previously tests would be attempted even after initial connection attempts failed.
- ansible-test - Integration tests can be excluded from retries triggered by the ``--retry-on-error`` option by adding the ``retry/never`` alias. This is useful for tests that cannot pass on a retry 
or are too slow to make retries useful.
- ansible-test - More details are provided about an instance when provisioning fails.
- ansible-test - Reduce the polling limit for SSHD startup in containers from 60 retries to 10. The one second delay between retries remains in place.
- ansible-test - SSH connections from OpenSSH 8.8+ to CentOS 6 containers now work without additional configuration. However, clients older than OpenSSH 7.0 can no longer connect to CentOS 6 
containers as a result. The container must have ``centos6`` in the image name for this work-around to be applied.
- ansible-test - SSH shell connections from OpenSSH 8.8+ to ansible-test provisioned network instances now work without additional configuration. However, clients older than OpenSSH 7.0 can no longer 
open shell sessions for ansible-test provisioned network instances as a result.
- ansible-test - The ``ansible-test env`` command now detects and reports the container ID if running in a container.
- ansible-test - Unit tests now support network disconnect by default when running under Podman. Previously this feature only worked by default under Docker.
- ansible-test - Use ``stop --time 0`` followed by ``rm`` to remove ephemeral containers instead of ``rm -f``. This speeds up teardown of ephemeral containers.
- ansible-test - Warnings are now shown when using containers that were built with VOLUME instructions.
- ansible-test - When setting the max open files for containers, the container host's limit will be checked. If the host limit is lower than the preferred value, it will be used and a warning will be 
shown.
- ansible-test - When using Podman, ansible-test will detect if the loginuid used in containers is incorrect. When this occurs a warning is displayed and the container is run with the AUDIT_CONTROL 
capability. Previously containers would fail under this situation, with no useful warnings or errors given.

Bugfixes
--------

- Correctly count rescued tasks in play recap (https://github.com/ansible/ansible/issues/79711)
- Fix traceback when using the ``template`` module and running with ``ANSIBLE_DEBUG=1`` (https://github.com/ansible/ansible/issues/79763)
- Fix using ``GALAXY_IGNORE_CERTS`` in conjunction with collections in requirements files which specify a specific ``source`` that isn't in the configured servers.
- Fix using ``GALAXY_IGNORE_CERTS`` when downloading tarballs from Galaxy servers (https://github.com/ansible/ansible/issues/79557).
- Module and role argument validation - include the valid suboption choices in the error when an invalid suboption is provided.
- ansible-doc now will correctly display short descriptions on listing filters/tests no matter the directory sorting.
- ansible-inventory will not explicitly sort groups/hosts anymore, giving a chance (depending on output format) to match the order in the input sources.
- ansible-test - Added a work-around for a traceback under Python 3.11 when completing certain command line options.
- ansible-test - Avoid using ``exec`` after container startup when possible. This improves container startup performance and avoids intermittent startup issues with some old containers.
- ansible-test - Connection attempts to managed remote instances no longer abort on ``Permission denied`` errors.
- ansible-test - Detection for running in a Podman or Docker container has been fixed to detect more scenarios. The new detection relies on ``/proc/self/mountinfo`` instead of ``/proc/self/cpuset``. 
Detection now works with custom cgroups and private cgroup namespaces.
- ansible-test - Fix validate-modules error when retrieving PowerShell argspec when retrieved inside a Cmdlet
- ansible-test - Handle server errors when executing the ``docker info`` command.
- ansible-test - Multiple containers now work under Podman without specifying the ``--docker-network`` option.
- ansible-test - Pass the ``XDG_RUNTIME_DIR`` environment variable through to container commands.
- ansible-test - Perform PyPI proxy configuration after instances are ready and bootstrapping has been completed. Only target instances are affected, as controller instances were already handled this 
way. This avoids proxy configuration errors when target instances are not yet ready for use.
- ansible-test - Prevent concurrent / repeat inspections of the same container image.
- ansible-test - Prevent concurrent / repeat pulls of the same container image.
- ansible-test - Prevent concurrent execution of cached methods.
- ansible-test - Show the exception type when reporting errors during instance provisioning.
- ansible-test sanity - correctly report invalid YAML in validate-modules (https://github.com/ansible/ansible/issues/75837).
- argument spec validation - again report deprecated parameters for Python-based modules. This was accidentally removed in ansible-core 2.11 when argument spec validation was refactored 
(https://github.com/ansible/ansible/issues/79680, https://github.com/ansible/ansible/pull/79681).
- argument spec validation - ensure that deprecated aliases in suboptions are also reported (https://github.com/ansible/ansible/pull/79740).
- argument spec validation - fix warning message when two aliases of the same option are used for suboptions to also mention the option's name they are in 
(https://github.com/ansible/ansible/pull/79740).
- connection local now avoids traceback on invalid user being used to execuet ansible (valid in host, but not in container).
- file - touch action in check mode was always returning ok. Fix now evaluates the different conditions and returns the appropriate changed status. (https://github.com/ansible/ansible/issues/79360)
- get_url - Ensure we are passing ciphers to all url_get calls (https://github.com/ansible/ansible/issues/79717)
- plugin filter now works with rejectlist as documented (still falls back to blacklist if used).
- uri - improve JSON content type detection

Known Issues
------------

- ansible-test - Additional configuration may be required for certain container host and container combinations. Further details are available in the testing documentation.
- ansible-test - Custom containers with ``VOLUME`` instructions may be unable to start, when previously the containers started correctly. Remove the ``VOLUME`` instructions to resolve the issue. 
Containers with this condition will cause ``ansible-test`` to emit a warning.
- ansible-test - Systems with Podman networking issues may be unable to run containers, when previously the issue went unreported. Correct the networking issues to continue using ``ansible-test`` 
with Podman.
- ansible-test - Using Docker on systems with SELinux may require setting SELinux to permissive mode. Podman should work with SELinux in enforcing mode.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/sysutils/ansible-core/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/ansible-core/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/sysutils/ansible-core/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/ansible-core/Makefile
diff -u pkgsrc/sysutils/ansible-core/Makefile:1.12 pkgsrc/sysutils/ansible-core/Makefile:1.13
--- pkgsrc/sysutils/ansible-core/Makefile:1.12  Fri Jan 13 13:48:44 2023
+++ pkgsrc/sysutils/ansible-core/Makefile       Thu Feb  9 09:59:37 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2023/01/13 13:48:44 adam Exp $
+# $NetBSD: Makefile,v 1.13 2023/02/09 09:59:37 adam Exp $
 
-DISTNAME=      ansible-core-2.14.1
-PKGREVISION=   1
+DISTNAME=      ansible-core-2.14.2
 CATEGORIES=    sysutils python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/ansible-core/}
 

Index: pkgsrc/sysutils/ansible-core/PLIST
diff -u pkgsrc/sysutils/ansible-core/PLIST:1.4 pkgsrc/sysutils/ansible-core/PLIST:1.5
--- pkgsrc/sysutils/ansible-core/PLIST:1.4      Mon Nov 14 09:33:51 2022
+++ pkgsrc/sysutils/ansible-core/PLIST  Thu Feb  9 09:59:37 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2022/11/14 09:33:51 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2023/02/09 09:59:37 adam Exp $
 bin/ansible
 bin/ansible-config
 bin/ansible-connection
@@ -1706,6 +1706,9 @@ ${PYSITELIB}/ansible_test/_internal/boot
 ${PYSITELIB}/ansible_test/_internal/cache.py
 ${PYSITELIB}/ansible_test/_internal/cache.pyc
 ${PYSITELIB}/ansible_test/_internal/cache.pyo
+${PYSITELIB}/ansible_test/_internal/cgroup.py
+${PYSITELIB}/ansible_test/_internal/cgroup.pyc
+${PYSITELIB}/ansible_test/_internal/cgroup.pyo
 ${PYSITELIB}/ansible_test/_internal/ci/__init__.py
 ${PYSITELIB}/ansible_test/_internal/ci/__init__.pyc
 ${PYSITELIB}/ansible_test/_internal/ci/__init__.pyo
@@ -2048,6 +2051,12 @@ ${PYSITELIB}/ansible_test/_internal/data
 ${PYSITELIB}/ansible_test/_internal/delegation.py
 ${PYSITELIB}/ansible_test/_internal/delegation.pyc
 ${PYSITELIB}/ansible_test/_internal/delegation.pyo
+${PYSITELIB}/ansible_test/_internal/dev/__init__.py
+${PYSITELIB}/ansible_test/_internal/dev/__init__.pyc
+${PYSITELIB}/ansible_test/_internal/dev/__init__.pyo
+${PYSITELIB}/ansible_test/_internal/dev/container_probe.py
+${PYSITELIB}/ansible_test/_internal/dev/container_probe.pyc
+${PYSITELIB}/ansible_test/_internal/dev/container_probe.pyo
 ${PYSITELIB}/ansible_test/_internal/diff.py
 ${PYSITELIB}/ansible_test/_internal/diff.pyc
 ${PYSITELIB}/ansible_test/_internal/diff.pyo
@@ -2339,6 +2348,10 @@ ${PYSITELIB}/ansible_test/_util/target/s
 ${PYSITELIB}/ansible_test/_util/target/sanity/import/importer.pyo
 ${PYSITELIB}/ansible_test/_util/target/setup/ConfigureRemotingForAnsible.ps1
 ${PYSITELIB}/ansible_test/_util/target/setup/bootstrap.sh
+${PYSITELIB}/ansible_test/_util/target/setup/check_systemd_cgroup_v1.sh
+${PYSITELIB}/ansible_test/_util/target/setup/probe_cgroups.py
+${PYSITELIB}/ansible_test/_util/target/setup/probe_cgroups.pyc
+${PYSITELIB}/ansible_test/_util/target/setup/probe_cgroups.pyo
 ${PYSITELIB}/ansible_test/_util/target/setup/quiet_pip.py
 ${PYSITELIB}/ansible_test/_util/target/setup/quiet_pip.pyc
 ${PYSITELIB}/ansible_test/_util/target/setup/quiet_pip.pyo

Index: pkgsrc/sysutils/ansible-core/distinfo
diff -u pkgsrc/sysutils/ansible-core/distinfo:1.10 pkgsrc/sysutils/ansible-core/distinfo:1.11
--- pkgsrc/sysutils/ansible-core/distinfo:1.10  Fri Jan 13 13:48:44 2023
+++ pkgsrc/sysutils/ansible-core/distinfo       Thu Feb  9 09:59:37 2023
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.10 2023/01/13 13:48:44 adam Exp $
+$NetBSD: distinfo,v 1.11 2023/02/09 09:59:37 adam Exp $
 
-BLAKE2s (ansible-core-2.14.1.tar.gz) = 704ecb941b8724d3b7de98cfc6e1ad688a41943182148e4e2f301b06a137b1df
-SHA512 (ansible-core-2.14.1.tar.gz) = d3710aff1dbb04746b663b7c987c3597005dd8633df82f645312e20ddb9c679e7315968c0cf2876ae22ba91d17e4c54ef9cbdb6b825ee1d6f4229e887f8b4571
-Size (ansible-core-2.14.1.tar.gz) = 14000906 bytes
+BLAKE2s (ansible-core-2.14.2.tar.gz) = dad18f28eb29bf9bd1600e272ab1c35096c4296ec355d1c46d3a3f62a992d928
+SHA512 (ansible-core-2.14.2.tar.gz) = 210dcd32b3a7faa50028200cc7f2ef4b8a8c5ee90fdfdf31cb61d2bc6d03c86aeb644a751e0c14aea3c1a95ea9e18703de1de304beeedcda4a98780f3e79cfec
+Size (ansible-core-2.14.2.tar.gz) = 11514103 bytes
 SHA1 (patch-lib_ansible_galaxy_dependency__resolution_providers.py) = 9b56e9be39607ac7566f659f6a93f5b060dbd7ac
 SHA1 (patch-lib_ansible_module__utils_facts_hardware_netbsd.py) = cdc41b104bffab7badd00446a9d0cdecba32cca2
 SHA1 (patch-requirements.txt) = e0bdb2f2128aaba0e26930ef11b138a2424b4e7f



Home | Main Index | Thread Index | Old Index