- orphan
Note
This filter plugin is part of the codeaffen.phpipam collection (version 1.7.0).
It is not included in ansible-core
. To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install codeaffen.phpipam
.
To use it in a playbook, specify: codeaffen.phpipam.is_subnet
.
ansible-version-added
New in codeaffen.phpipam 1.2.0
- First argument is a subnet second another. If the first subnet belongs to second
This describes the input of the filter, the value before | codeaffen.phpipam.is_subnet
.
X{1}{3}X{2}{3}
Parameter | Comments |
---|---|
Subnet in cidr format which should belongs to parent |
This describes positional parameters of the filter. These are the values positional1
, positional2
and so on in the following example: input | codeaffen.phpipam.is_subnet(positional1, positional2, ...)
X{1}{3}X{2}{3}
Parameter | Comments |
---|---|
Subnet where input should belongs to |
192.0.2.0/25 | codeaffen.phpipam.is_subnet(192.0.2.0/24)
X{1}{3}X{2}{3}
Key | Description |
---|---|
True if children belongs to parent and false if not or both networks are the same. ansible-option-line
|
- Christian Meißner
Hint
Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.
- title: "Issue Tracker" url: "https://github.com/codeaffen/phpipam-ansible-modules/issues" external: true
- title: "Homepage" url: "https://codeaffen.org/projects/phpipam-ansible-modules" external: true
- title: "Repository (Sources)" url: "https://github.com/codeaffen/phpipam-ansible-modules" external: true