Mon Jul 11 09:28:41 2022 UTC ()
ansible-core: updated to 2.13.1

v2.13.1
=======

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-galaxy - Support resolvelib versions 0.6.x, 0.7.x, and 0.8.x. The full range of supported versions is now >= 0.5.3, < 0.9.0.
- ansible-test - Add RHEL 9.0 remote support.
- ansible-test - Add support for Ubuntu VMs using the ``--remote`` option.
- ansible-test - Add support for exporting inventory with ``ansible-test shell --export {path}``.
- ansible-test - Add support for multi-arch remotes.
- ansible-test - Add support for running non-interactive commands with ``ansible-test shell``.
- ansible-test - Avoid using the ``mock_use_standalone_module`` setting for unit tests running on Python 3.8 or later.
- ansible-test - Blocking mode is now enforced for stdin, stdout and stderr. If any of these are non-blocking then ansible-test will exit during startup with an error.
- ansible-test - Improve consistency of output messages by using stdout or stderr for most output, but not both.
- ansible-test - The ``shell`` command can be used outside a collection if no controller delegation is required.

Bugfixes
--------

- Add PyYAML >= 5.1 as a dependency of ansible-core to be compatible with Python 3.8+.
- ansible-config dump - Only display plugin type headers when plugin options are changed if --only-changed is specified.
- ansible-galaxy - handle unsupported versions of resolvelib gracefully.
- ansible-test - Fix internal validation of remote completion configuration.
- ansible-test - Prevent ``--target-`` prefixed options for the ``shell`` command from being combined with legacy environment options.
- ansible-test - Sanity test output with the ``--lint`` option is no longer mixed in with bootstrapping output.
- ansible-test - Subprocesses are now isolated from the stdin, stdout and stderr of ansible-test. This avoids issues with subprocesses tampering with the file descriptors, such as SSH making them non-blocking. As a result of this change, subprocess output from unit and integration tests on stderr now go to stdout.
- ansible-test - Subprocesses no longer have access to the TTY ansible-test is connected to, if any. This maintains consistent behavior between local testing and CI systems, which typically do not provide a TTY. Tests which require a TTY should use pexpect or another mechanism to create a PTY.
- apt module now correctly handles virtual packages.
- lookup plugin - catch KeyError when lookup returns dictionary (https://github.com/ansible/ansible/pull/77789).
- 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).
- 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).
- psrp connection now handles default to inventory_hostname correctly.
- winrm connection now handles default to inventory_hostname correctly.


(adam)
diff -r1.3 -r1.4 pkgsrc/sysutils/ansible-core/Makefile
diff -r1.2 -r1.3 pkgsrc/sysutils/ansible-core/PLIST
diff -r1.2 -r1.3 pkgsrc/sysutils/ansible-core/distinfo

cvs diff -r1.3 -r1.4 pkgsrc/sysutils/ansible-core/Makefile (expand / switch to unified diff)

--- pkgsrc/sysutils/ansible-core/Makefile 2022/06/30 11:18:49 1.3
+++ pkgsrc/sysutils/ansible-core/Makefile 2022/07/11 09:28:41 1.4
@@ -1,17 +1,16 @@ @@ -1,17 +1,16 @@
1# $NetBSD: Makefile,v 1.3 2022/06/30 11:18:49 nia Exp $ 1# $NetBSD: Makefile,v 1.4 2022/07/11 09:28:41 adam Exp $
2 2
3DISTNAME= ansible-core-2.13.0 3DISTNAME= ansible-core-2.13.1
4PKGREVISION= 1 
5CATEGORIES= sysutils python 4CATEGORIES= sysutils python
6MASTER_SITES= ${MASTER_SITE_PYPI:=a/ansible-core/} 5MASTER_SITES= ${MASTER_SITE_PYPI:=a/ansible-core/}
7 6
8MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://ansible.com/ 8HOMEPAGE= https://ansible.com/
10COMMENT= SSH-based configuration management, deployment, and task execution 9COMMENT= SSH-based configuration management, deployment, and task execution
11LICENSE= gnu-gpl-v3 10LICENSE= gnu-gpl-v3
12 11
13CONFLICTS+= ansible<2.10 12CONFLICTS+= ansible<2.10
14 13
15DEPENDS+= ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography 14DEPENDS+= ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
16DEPENDS+= ${PYPKGPREFIX}-jinja2>=3.0.0:../../textproc/py-jinja2 15DEPENDS+= ${PYPKGPREFIX}-jinja2>=3.0.0:../../textproc/py-jinja2
17DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging 16DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging

cvs diff -r1.2 -r1.3 pkgsrc/sysutils/ansible-core/PLIST (expand / switch to unified diff)

--- pkgsrc/sysutils/ansible-core/PLIST 2022/05/17 09:29:54 1.2
+++ pkgsrc/sysutils/ansible-core/PLIST 2022/07/11 09:28:41 1.3
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.2 2022/05/17 09:29:54 adam Exp $ 1@comment $NetBSD: PLIST,v 1.3 2022/07/11 09:28:41 adam Exp $
2bin/ansible 2bin/ansible
3bin/ansible-config 3bin/ansible-config
4bin/ansible-connection 4bin/ansible-connection
5bin/ansible-console 5bin/ansible-console
6bin/ansible-doc 6bin/ansible-doc
7bin/ansible-galaxy 7bin/ansible-galaxy
8bin/ansible-inventory 8bin/ansible-inventory
9bin/ansible-playbook 9bin/ansible-playbook
10bin/ansible-pull 10bin/ansible-pull
11bin/ansible-test 11bin/ansible-test
12bin/ansible-vault 12bin/ansible-vault
13@pkgdir etc/ansible 13@pkgdir etc/ansible
14${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 14${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -1531,27 +1531,28 @@ ${PYSITELIB}/ansible_test/_data/completi @@ -1531,27 +1531,28 @@ ${PYSITELIB}/ansible_test/_data/completi
1531${PYSITELIB}/ansible_test/_data/coveragerc 1531${PYSITELIB}/ansible_test/_data/coveragerc
1532${PYSITELIB}/ansible_test/_data/playbooks/posix_coverage_setup.yml 1532${PYSITELIB}/ansible_test/_data/playbooks/posix_coverage_setup.yml
1533${PYSITELIB}/ansible_test/_data/playbooks/posix_coverage_teardown.yml 1533${PYSITELIB}/ansible_test/_data/playbooks/posix_coverage_teardown.yml
1534${PYSITELIB}/ansible_test/_data/playbooks/posix_hosts_prepare.yml 1534${PYSITELIB}/ansible_test/_data/playbooks/posix_hosts_prepare.yml
1535${PYSITELIB}/ansible_test/_data/playbooks/posix_hosts_restore.yml 1535${PYSITELIB}/ansible_test/_data/playbooks/posix_hosts_restore.yml
1536${PYSITELIB}/ansible_test/_data/playbooks/pypi_proxy_prepare.yml 1536${PYSITELIB}/ansible_test/_data/playbooks/pypi_proxy_prepare.yml
1537${PYSITELIB}/ansible_test/_data/playbooks/pypi_proxy_restore.yml 1537${PYSITELIB}/ansible_test/_data/playbooks/pypi_proxy_restore.yml
1538${PYSITELIB}/ansible_test/_data/playbooks/windows_coverage_setup.yml 1538${PYSITELIB}/ansible_test/_data/playbooks/windows_coverage_setup.yml
1539${PYSITELIB}/ansible_test/_data/playbooks/windows_coverage_teardown.yml 1539${PYSITELIB}/ansible_test/_data/playbooks/windows_coverage_teardown.yml
1540${PYSITELIB}/ansible_test/_data/playbooks/windows_hosts_prepare.ps1 1540${PYSITELIB}/ansible_test/_data/playbooks/windows_hosts_prepare.ps1
1541${PYSITELIB}/ansible_test/_data/playbooks/windows_hosts_prepare.yml 1541${PYSITELIB}/ansible_test/_data/playbooks/windows_hosts_prepare.yml
1542${PYSITELIB}/ansible_test/_data/playbooks/windows_hosts_restore.ps1 1542${PYSITELIB}/ansible_test/_data/playbooks/windows_hosts_restore.ps1
1543${PYSITELIB}/ansible_test/_data/playbooks/windows_hosts_restore.yml 1543${PYSITELIB}/ansible_test/_data/playbooks/windows_hosts_restore.yml
1544${PYSITELIB}/ansible_test/_data/pytest.ini 1544${PYSITELIB}/ansible_test/_data/pytest/config/default.ini
 1545${PYSITELIB}/ansible_test/_data/pytest/config/legacy.ini
1545${PYSITELIB}/ansible_test/_data/requirements/ansible.txt 1546${PYSITELIB}/ansible_test/_data/requirements/ansible.txt
1546${PYSITELIB}/ansible_test/_data/requirements/constraints.txt 1547${PYSITELIB}/ansible_test/_data/requirements/constraints.txt
1547${PYSITELIB}/ansible_test/_data/requirements/sanity.ansible-doc.in 1548${PYSITELIB}/ansible_test/_data/requirements/sanity.ansible-doc.in
1548${PYSITELIB}/ansible_test/_data/requirements/sanity.ansible-doc.txt 1549${PYSITELIB}/ansible_test/_data/requirements/sanity.ansible-doc.txt
1549${PYSITELIB}/ansible_test/_data/requirements/sanity.changelog.in 1550${PYSITELIB}/ansible_test/_data/requirements/sanity.changelog.in
1550${PYSITELIB}/ansible_test/_data/requirements/sanity.changelog.txt 1551${PYSITELIB}/ansible_test/_data/requirements/sanity.changelog.txt
1551${PYSITELIB}/ansible_test/_data/requirements/sanity.import.in 1552${PYSITELIB}/ansible_test/_data/requirements/sanity.import.in
1552${PYSITELIB}/ansible_test/_data/requirements/sanity.import.plugin.in 1553${PYSITELIB}/ansible_test/_data/requirements/sanity.import.plugin.in
1553${PYSITELIB}/ansible_test/_data/requirements/sanity.import.plugin.txt 1554${PYSITELIB}/ansible_test/_data/requirements/sanity.import.plugin.txt
1554${PYSITELIB}/ansible_test/_data/requirements/sanity.import.txt 1555${PYSITELIB}/ansible_test/_data/requirements/sanity.import.txt
1555${PYSITELIB}/ansible_test/_data/requirements/sanity.integration-aliases.in 1556${PYSITELIB}/ansible_test/_data/requirements/sanity.integration-aliases.in
1556${PYSITELIB}/ansible_test/_data/requirements/sanity.integration-aliases.txt 1557${PYSITELIB}/ansible_test/_data/requirements/sanity.integration-aliases.txt
1557${PYSITELIB}/ansible_test/_data/requirements/sanity.mypy.in 1558${PYSITELIB}/ansible_test/_data/requirements/sanity.mypy.in

cvs diff -r1.2 -r1.3 pkgsrc/sysutils/ansible-core/distinfo (expand / switch to unified diff)

--- pkgsrc/sysutils/ansible-core/distinfo 2022/05/17 09:29:54 1.2
+++ pkgsrc/sysutils/ansible-core/distinfo 2022/07/11 09:28:41 1.3
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.2 2022/05/17 09:29:54 adam Exp $ 1$NetBSD: distinfo,v 1.3 2022/07/11 09:28:41 adam Exp $
2 2
3BLAKE2s (ansible-core-2.13.0.tar.gz) = 3e4b7d8cf402269c77d6eb2a3475ec3562de2dd2fe65e4f1919b57dc4cca85f1 3BLAKE2s (ansible-core-2.13.1.tar.gz) = 1715e4fd650b9a25b45816af461b87b0489c15b0a0c2ff457c2ac7c1f5c2ff49
4SHA512 (ansible-core-2.13.0.tar.gz) = 37e17d73477ba88c62af94a6912f9b4b91ebf2ac967c2845875e293fe2ed09307e414644899714e604883973e241eed571d61b7a093a6c212446a1f5b702af6f 4SHA512 (ansible-core-2.13.1.tar.gz) = f40ec5c8fdcc1e3f2ed78f398561aca5bfd4793a5f4d9240930f7aaf96233f05c7177304c30c06115943b5b9e9944286f01545cedd378e9c3e7f93c3ebce7c78
5Size (ansible-core-2.13.0.tar.gz) = 7383065 bytes 5Size (ansible-core-2.13.1.tar.gz) = 7407801 bytes
6SHA1 (patch-lib_ansible_module__utils_facts_hardware_netbsd.py) = cdc41b104bffab7badd00446a9d0cdecba32cca2 6SHA1 (patch-lib_ansible_module__utils_facts_hardware_netbsd.py) = cdc41b104bffab7badd00446a9d0cdecba32cca2