Skip to content

Fix description of return value of reduce_on_network #401

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changelogs/fragments/fix_description.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
doc_changes:
- Fix the description of the reduce_on_network filter.
2 changes: 1 addition & 1 deletion docs/ansible.utils.reduce_on_network_filter.rst
Original file line number Diff line number Diff line change
@@ -120,7 +120,7 @@ Common return values are documented `here <https://docs.ansible.com/ansible/late
</td>
<td></td>
<td>
<div>Returns whether an address or a network passed as argument is in a network.</div>
<div>Returns the filtered list of addresses belonging to the network.</div>
<br/>
</td>
</tr>
2 changes: 1 addition & 1 deletion plugins/filter/reduce_on_network.py
Original file line number Diff line number Diff line change
@@ -85,7 +85,7 @@ class mac_linux(netaddr.mac_unix):
data:
type: bool
description:
- Returns whether an address or a network passed as argument is in a network.
- Returns the filtered list of addresses belonging to the network.

"""