.. _ansible.utils.ipv4_netmask_test: ************************** ansible.utils.ipv4_netmask ************************** **Test if an address is a valid netmask** Version added: 2.2.0 .. contents:: :local: :depth: 1 Synopsis -------- - This plugin checks if the provided ip address is a valid IPv4 netmask or not Parameters ---------- .. raw:: html
Parameter | Choices/Defaults | Configuration | Comments |
---|---|---|---|
mask
string
/ required
|
A string that represents the value against which the test is going to be performed
For example:
0.1.255.255 or 255.255.255.0 |
Key | Returned | Description |
---|---|---|
data
-
|
If jinja test satisfies plugin expression
true If jinja test does not satisfy plugin expression
false |