Skip to content
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

Filters on gather subnet dont work. #26

Open
bartsikkes opened this issue Feb 19, 2024 · 0 comments
Open

Filters on gather subnet dont work. #26

bartsikkes opened this issue Feb 19, 2024 · 0 comments

Comments

@bartsikkes
Copy link

I used the example from here:
https://github.com/infobloxopen/bloxone-ansible/blob/main/sample_playbook/ipam/subnet/gather_subnet_with_filters.yaml

When I run it without the filter it shows me all subnets. With the filter set to an address which exists in my environment nothing is returned.

ok: [localhost] => {
"msg": {
"changed": false,
"failed": false,
"meta": {
"results": []
}
}
}

I have tried changing from filters: {'address': '[10.23.14.0/24]'} to filters: {'address': '10.23.14.0'} as when I print output address without filter is shown as without a mask, see below.

ok: [localhost] => {
"msg": {
"changed": false,
"failed": false,
"meta": {
"results": [
{
"address": "10.23.14.0",
"cidr": 24,

But that doesn't help either, with a filter on address there is no output.

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

No branches or pull requests

1 participant