Skip to content

chore(deps): update dependency ansible.netcommon to v8.5.2#123

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/ansible.netcommon-8.x
Open

chore(deps): update dependency ansible.netcommon to v8.5.2#123
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/ansible.netcommon-8.x

Conversation

@renovate

@renovate renovate Bot commented Apr 19, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
ansible.netcommon galaxy-collection minor 8.4.08.5.2

Release Notes

ansible-collections/ansible.netcommon (ansible.netcommon)

v8.5.2

Compare Source

======

Release Summary

Rereleased 8.5.1 with corrected changelog.

Bugfixes

  • network action plugin - initialize _PARSED_MODULE_ARGS in DirectExecutionModule._load_params to avoid AttributeError on ansible-core 2.21+ when fail_json or exit_json is called.

v8.5.1

Compare Source

======

v8.5.0

Compare Source

======

Minor Changes

  • The dependency on ansible-pylibssh (for ssh_type=libssh / network_cli) is now ansible-pylibssh>=1.4.0 in requirements.txt, raised from the previous >=0.2.0 requirement. Installations still on ansible-pylibssh 0.x or 1.x below 1.4.0 must upgrade to use the libssh connection path with this collection release.
  • libssh connection - When log_path is set (e.g. via ANSIBLE_LOG_PATH or log_path in ansible.cfg), the plugin now routes ansible-pylibssh (libssh) logs into the same Ansible log file. Log level is derived from display.verbosity using Python standard logging: verbosity 0 -> WARNING, 1-2 -> INFO, 3+ -> DEBUG. This allows SSH/libssh debug and trace output to appear in the configured log file for troubleshooting without changing ansible-pylibssh configuration manually.
  • network_cli - The in-collection paramiko path supports the same host key policy behavior (including host_key_auto_add and known_hosts handling) and persistent connection caching as the previous ansible-core paramiko integration.
  • network_cli - When ssh_type is set to paramiko, the connection plugin now uses an in-collection paramiko implementation instead of loading ansible-core's paramiko connection plugin. This allows network_cli to work with versions of ansible-core, where the paramiko connection plugin was removed.

Deprecated Features

  • network_cli - The in-collection paramiko support (used when ssh_type is paramiko) is a compatibility layer for environments where ansible-core's paramiko connection is no longer available. This layer is deprecated and will be removed in a release after 2028-02-01. Migrate to ssh_type=libssh by installing the ansible-pylibssh package.

Bugfixes

  • filter plugins - Add plugin_routing redirects for ipaddr, ipv4, and ipv6 to ansible.utils so short names work when ansible.netcommon is in the play's collection list (ansible-collections/ansible.utils#404).
  • filter plugins - Convert filter arguments to native Python types before AnsibleArgSpecValidator so filters work with Ansible 2.19+ lazy containers that cannot be deep-copied (e.g. vlan_parser, vlan_expander, hash_salt, type5_pw, comp_type5, parse_cli, parse_cli_textfsm, parse_xml, pop_ace).
  • libssh connection - Fixed test_libssh_put_file unit test so the put_file code path (used by net_put, copy module, and other file transfer over libssh) is properly tested in CI. The test now sets connection options and mocks Session so put_file does not trigger a real connection attempt with an unset host (was failing with "Hostname required").
  • network action plugin - Fall back when remove_internal_keys is not importable from ansible.vars.clean (e.g. some ansible-core builds), so direct module execution still cleans module return data.
  • network_cli - Fixed file transfer (net_put / net_get) when ssh_type=libssh. For put_file, no longer call_connect_uncached() before delegating to the libssh connection the libssh plugin's put_file() calls _connect() internally. For fetch_file, call _connect() then fetch_file() for libssh instead of _connect_uncached(), so connection caching and the correct flow are used. Paramiko branch unchanged (still uses _connect_uncached() for scp/sftp).

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title chore(deps): update dependency ansible.netcommon to v8.5.0 chore(deps): update dependency ansible.netcommon to v8.5.1 May 6, 2026
@renovate renovate Bot force-pushed the renovate/ansible.netcommon-8.x branch from 9c81c09 to a873d2c Compare May 6, 2026 02:50
@renovate renovate Bot force-pushed the renovate/ansible.netcommon-8.x branch from a873d2c to c68fd05 Compare May 7, 2026 17:55
@renovate renovate Bot changed the title chore(deps): update dependency ansible.netcommon to v8.5.1 chore(deps): update dependency ansible.netcommon to v8.5.2 May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants