.. _ansible.utils.ip_address_test: ************************ ansible.utils.ip_address ************************ **Test if something in an IP address** Version added: 2.2.0 .. contents:: :local: :depth: 1 Synopsis -------- - This plugin checks if the provided value is a valid host IP address Parameters ---------- .. raw:: html
| Parameter | Choices/Defaults | Configuration | Comments |
|---|---|---|---|
|
ip
string
/ required
|
A string that represents the value against which the test is going to be performed
For example:
10.1.1.1 or "hello-world" |
| Key | Returned | Description |
|---|---|---|
|
data
-
|
If jinja test satisfies plugin expression
trueIf jinja test does not satisfy plugin expression
false |