Skip to content

Commit 6c34572

Browse files
authored
Merge branch 'main' into update_fact_bracket
2 parents fe4ddd8 + e594aa6 commit 6c34572

File tree

22 files changed

+218
-168
lines changed

22 files changed

+218
-168
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ repos:
3636
args: ["--filter-files"]
3737

3838
- repo: https://github.com/psf/black
39-
rev: 24.4.2
39+
rev: 24.8.0
4040
hooks:
4141
- id: black
4242

4343
- repo: https://github.com/pycqa/flake8
44-
rev: 7.1.0
44+
rev: 7.1.1
4545
hooks:
4646
- id: flake8

CHANGELOG.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@ Ansible Utils Collection Release Notes
44

55
.. contents:: Topics
66

7+
v5.1.0
8+
======
9+
10+
Minor Changes
11+
-------------
12+
13+
- Allows the cli_parse module to find parser.template_path inside roles or collections when a path relative to the role/collection directory is provided.
14+
- Fix cli_parse module to require a connection.
15+
- Previously, the ansible.utils.ipcut filter only supported IPv6 addresses, leading to confusing error messages when used with IPv4 addresses. This fix ensures that the filter now appropriately handles both IPv4 and IPv6 addresses.
16+
- Removed conditional check for deprecated ansible.netcommon.cli_parse from ansible.utils.cli_parse
17+
- The from_xml filter returns a python dictionary instead of a json string.
18+
19+
Documentation Changes
20+
---------------------
21+
22+
- Add a wildcard mask/hostmask documentation to ipaddr filter doc page to obtain an IP address's wildcard mask/hostmask.
23+
724
v5.0.0
825
======
926

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@
44

55
The Ansible ``ansible.utils`` collection includes a variety of plugins that aid in the management, manipulation and visibility of data for the Ansible playbook developer.
66

7+
## Communication
8+
9+
* Join the Ansible forum:
10+
* [Get Help](https://forum.ansible.com/c/help/6): get help or help others.
11+
* [Posts tagged with 'network'](https://forum.ansible.com/tag/network): subscribe to participate in collection-related conversations.```
12+
* [Ansible Network Automation Working Group](https://forum.ansible.com/g/network-wg/): by joining the team you will automatically get subscribed to the posts tagged with [network](https://forum.ansible.com/tags/network).
13+
* [Social Spaces](https://forum.ansible.com/c/chat/4): gather and interact with fellow enthusiasts.
14+
* [News & Announcements](https://forum.ansible.com/c/news/5): track project-wide announcements including social events.
15+
16+
* The Ansible [Bullhorn newsletter](https://docs.ansible.com/ansible/devel/community/communication.html#the-bullhorn): used to announce releases and important changes.
17+
18+
For more information about communication, see the [Ansible communication guide](https://docs.ansible.com/ansible/devel/community/communication.html).
19+
720
<!--start requires_ansible-->
821
## Ansible version compatibility
922

changelogs/changelog.yaml

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,9 +442,35 @@ releases:
442442
- Bumping `requires_ansible` to `>=2.15.0`, since previous ansible-core versions
443443
are EoL now.
444444
release_summary:
445-
"With this release, the minimum required version of `ansible-core`
445+
With this release, the minimum required version of `ansible-core`
446446
for this collection is `2.15.0`. The last version known to be compatible with
447-
`ansible-core` versions below `2.15` is v4.1.0."
447+
`ansible-core` versions below `2.15` is v4.1.0.
448448
fragments:
449449
- bump_215.yaml
450450
release_date: "2024-06-10"
451+
5.1.0:
452+
changes:
453+
doc_changes:
454+
- Add a wildcard mask/hostmask documentation to ipaddr filter doc page to obtain
455+
an IP address's wildcard mask/hostmask.
456+
minor_changes:
457+
- Allows the cli_parse module to find parser.template_path inside roles or collections
458+
when a path relative to the role/collection directory is provided.
459+
- Fix cli_parse module to require a connection.
460+
- Previously, the ansible.utils.ipcut filter only supported IPv6 addresses,
461+
leading to confusing error messages when used with IPv4 addresses. This fix
462+
ensures that the filter now appropriately handles both IPv4 and IPv6 addresses.
463+
- Removed conditional check for deprecated ansible.netcommon.cli_parse from
464+
ansible.utils.cli_parse
465+
- The from_xml filter returns a python dictionary instead of a json string.
466+
fragments:
467+
- 200.yaml
468+
- 203.yaml
469+
- 204.yaml
470+
- 324.yaml
471+
- 358_ipcut.yaml
472+
- add_template_path.yaml
473+
- fix_cli_parse.yaml
474+
- fix_from_xml.yaml
475+
- todo_condition.yml
476+
release_date: "2024-08-05"

changelogs/fragments/0-readme.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
trivial:
3+
- README.md - Add Communication section with Forum information.

changelogs/fragments/200.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/fragments/203.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/fragments/204.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/fragments/324.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/fragments/add_template_path.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)