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:           Mon Jul 11 09:28:41 UTC 2022

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

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/sysutils/ansible-core/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/ansible-core/PLIST \
    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.3 pkgsrc/sysutils/ansible-core/Makefile:1.4
--- pkgsrc/sysutils/ansible-core/Makefile:1.3   Thu Jun 30 11:18:49 2022
+++ pkgsrc/sysutils/ansible-core/Makefile       Mon Jul 11 09:28:41 2022
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2022/06/30 11:18:49 nia Exp $
+# $NetBSD: Makefile,v 1.4 2022/07/11 09:28:41 adam Exp $
 
-DISTNAME=      ansible-core-2.13.0
-PKGREVISION=   1
+DISTNAME=      ansible-core-2.13.1
 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.2 pkgsrc/sysutils/ansible-core/PLIST:1.3
--- pkgsrc/sysutils/ansible-core/PLIST:1.2      Tue May 17 09:29:54 2022
+++ pkgsrc/sysutils/ansible-core/PLIST  Mon Jul 11 09:28:41 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2022/05/17 09:29:54 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/07/11 09:28:41 adam Exp $
 bin/ansible
 bin/ansible-config
 bin/ansible-connection
@@ -1541,7 +1541,8 @@ ${PYSITELIB}/ansible_test/_data/playbook
 ${PYSITELIB}/ansible_test/_data/playbooks/windows_hosts_prepare.yml
 ${PYSITELIB}/ansible_test/_data/playbooks/windows_hosts_restore.ps1
 ${PYSITELIB}/ansible_test/_data/playbooks/windows_hosts_restore.yml
-${PYSITELIB}/ansible_test/_data/pytest.ini
+${PYSITELIB}/ansible_test/_data/pytest/config/default.ini
+${PYSITELIB}/ansible_test/_data/pytest/config/legacy.ini
 ${PYSITELIB}/ansible_test/_data/requirements/ansible.txt
 ${PYSITELIB}/ansible_test/_data/requirements/constraints.txt
 ${PYSITELIB}/ansible_test/_data/requirements/sanity.ansible-doc.in
Index: pkgsrc/sysutils/ansible-core/distinfo
diff -u pkgsrc/sysutils/ansible-core/distinfo:1.2 pkgsrc/sysutils/ansible-core/distinfo:1.3
--- pkgsrc/sysutils/ansible-core/distinfo:1.2   Tue May 17 09:29:54 2022
+++ pkgsrc/sysutils/ansible-core/distinfo       Mon Jul 11 09:28:41 2022
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2022/05/17 09:29:54 adam Exp $
+$NetBSD: distinfo,v 1.3 2022/07/11 09:28:41 adam Exp $
 
-BLAKE2s (ansible-core-2.13.0.tar.gz) = 3e4b7d8cf402269c77d6eb2a3475ec3562de2dd2fe65e4f1919b57dc4cca85f1
-SHA512 (ansible-core-2.13.0.tar.gz) = 37e17d73477ba88c62af94a6912f9b4b91ebf2ac967c2845875e293fe2ed09307e414644899714e604883973e241eed571d61b7a093a6c212446a1f5b702af6f
-Size (ansible-core-2.13.0.tar.gz) = 7383065 bytes
+BLAKE2s (ansible-core-2.13.1.tar.gz) = 1715e4fd650b9a25b45816af461b87b0489c15b0a0c2ff457c2ac7c1f5c2ff49
+SHA512 (ansible-core-2.13.1.tar.gz) = f40ec5c8fdcc1e3f2ed78f398561aca5bfd4793a5f4d9240930f7aaf96233f05c7177304c30c06115943b5b9e9944286f01545cedd378e9c3e7f93c3ebce7c78
+Size (ansible-core-2.13.1.tar.gz) = 7407801 bytes
 SHA1 (patch-lib_ansible_module__utils_facts_hardware_netbsd.py) = cdc41b104bffab7badd00446a9d0cdecba32cca2



Home | Main Index | Thread Index | Old Index