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.diff -r1.3 -r1.4 pkgsrc/sysutils/ansible-core/Makefile
(adam)
@@ -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 | |||
3 | DISTNAME= ansible-core-2.13.0 | 3 | DISTNAME= ansible-core-2.13.1 | |
4 | PKGREVISION= 1 | |||
5 | CATEGORIES= sysutils python | 4 | CATEGORIES= sysutils python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=a/ansible-core/} | 5 | MASTER_SITES= ${MASTER_SITE_PYPI:=a/ansible-core/} | |
7 | 6 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 7 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://ansible.com/ | 8 | HOMEPAGE= https://ansible.com/ | |
10 | COMMENT= SSH-based configuration management, deployment, and task execution | 9 | COMMENT= SSH-based configuration management, deployment, and task execution | |
11 | LICENSE= gnu-gpl-v3 | 10 | LICENSE= gnu-gpl-v3 | |
12 | 11 | |||
13 | CONFLICTS+= ansible<2.10 | 12 | CONFLICTS+= ansible<2.10 | |
14 | 13 | |||
15 | DEPENDS+= ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography | 14 | DEPENDS+= ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography | |
16 | DEPENDS+= ${PYPKGPREFIX}-jinja2>=3.0.0:../../textproc/py-jinja2 | 15 | DEPENDS+= ${PYPKGPREFIX}-jinja2>=3.0.0:../../textproc/py-jinja2 | |
17 | DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging | 16 | DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging |
@@ -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 $ | |
2 | bin/ansible | 2 | bin/ansible | |
3 | bin/ansible-config | 3 | bin/ansible-config | |
4 | bin/ansible-connection | 4 | bin/ansible-connection | |
5 | bin/ansible-console | 5 | bin/ansible-console | |
6 | bin/ansible-doc | 6 | bin/ansible-doc | |
7 | bin/ansible-galaxy | 7 | bin/ansible-galaxy | |
8 | bin/ansible-inventory | 8 | bin/ansible-inventory | |
9 | bin/ansible-playbook | 9 | bin/ansible-playbook | |
10 | bin/ansible-pull | 10 | bin/ansible-pull | |
11 | bin/ansible-test | 11 | bin/ansible-test | |
12 | bin/ansible-vault | 12 | bin/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 |
@@ -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 | |||
3 | BLAKE2s (ansible-core-2.13.0.tar.gz) = 3e4b7d8cf402269c77d6eb2a3475ec3562de2dd2fe65e4f1919b57dc4cca85f1 | 3 | BLAKE2s (ansible-core-2.13.1.tar.gz) = 1715e4fd650b9a25b45816af461b87b0489c15b0a0c2ff457c2ac7c1f5c2ff49 | |
4 | SHA512 (ansible-core-2.13.0.tar.gz) = 37e17d73477ba88c62af94a6912f9b4b91ebf2ac967c2845875e293fe2ed09307e414644899714e604883973e241eed571d61b7a093a6c212446a1f5b702af6f | 4 | SHA512 (ansible-core-2.13.1.tar.gz) = f40ec5c8fdcc1e3f2ed78f398561aca5bfd4793a5f4d9240930f7aaf96233f05c7177304c30c06115943b5b9e9944286f01545cedd378e9c3e7f93c3ebce7c78 | |
5 | Size (ansible-core-2.13.0.tar.gz) = 7383065 bytes | 5 | Size (ansible-core-2.13.1.tar.gz) = 7407801 bytes | |
6 | SHA1 (patch-lib_ansible_module__utils_facts_hardware_netbsd.py) = cdc41b104bffab7badd00446a9d0cdecba32cca2 | 6 | SHA1 (patch-lib_ansible_module__utils_facts_hardware_netbsd.py) = cdc41b104bffab7badd00446a9d0cdecba32cca2 |