Index of all Test Plugins
ansible.builtin
ansible.builtin.abs – is the path absolute
ansible.builtin.all – are all conditions in a list true
ansible.builtin.any – is any conditions in a list true
ansible.builtin.changed – did the task require changes
ansible.builtin.contains – does the list contain this element
ansible.builtin.directory – does the path resolve to an existing directory
ansible.builtin.exists – does the path exist, follow symlinks
ansible.builtin.failed – did the task fail
ansible.builtin.falsy – Pythonic false
ansible.builtin.file – does the path resolve to an existing file
ansible.builtin.finished – Did async task finish
ansible.builtin.link – does the path reference existing symbolic link
ansible.builtin.link_exists – does the path exist, no follow
ansible.builtin.match – Does string match regular expression from the start
ansible.builtin.mount – does the path resolve to mount point
ansible.builtin.nan – is this not a number (NaN)
ansible.builtin.reachable – Task did not end due to unreachable host
ansible.builtin.regex – Does string match regular expression from the start
ansible.builtin.same_file – compares two paths to see if they resolve to the same filesystem object
ansible.builtin.search – Does string match a regular expression
ansible.builtin.skipped – Was task skipped
ansible.builtin.started – Was async task started
ansible.builtin.subset – is the list a subset of this other list
ansible.builtin.success – check task success
ansible.builtin.superset – is the list a superset of this other list
ansible.builtin.truthy – Pythonic true
ansible.builtin.unreachable – Did task end due to the host was unreachable
ansible.builtin.uri – is the string a valid URI
ansible.builtin.url – is the string a valid URL
ansible.builtin.urn – is the string a valid URN
ansible.builtin.vault_encrypted – Is this an encrypted vault
ansible.builtin.version – compare version strings
ansible.utils
ansible.utils.in_any_network – Test if an IP or network falls in any network
ansible.utils.in_network – Test if IP address falls in the network
ansible.utils.in_one_network – Test if IP address belongs in any one of the networks in the list
ansible.utils.ip – Test if something in an IP address or network
ansible.utils.ip_address – Test if something in an IP address
ansible.utils.ipv4 – Test if something is an IPv4 address or network
ansible.utils.ipv4_address – Test if something is an IPv4 address
ansible.utils.ipv4_hostmask – Test if an address is a valid hostmask
ansible.utils.ipv4_netmask – Test if an address is a valid netmask
ansible.utils.ipv6 – Test if something is an IPv6 address or network
ansible.utils.ipv6_address – Test if something is an IPv6 address
ansible.utils.ipv6_ipv4_mapped – Test if something appears to be a mapped IPv6 to IPv4 mapped address
ansible.utils.ipv6_sixtofour – Test if something appears to be a 6to4 address
ansible.utils.ipv6_teredo – Test if something appears to be an IPv6 teredo address
ansible.utils.loopback – Test if an IP address is a loopback
ansible.utils.mac – Test if something appears to be a valid MAC address
ansible.utils.multicast – Test for a multicast IP address
ansible.utils.private – Test if an IP address is private
ansible.utils.public – Test if an IP address is public
ansible.utils.reserved – Test for a reserved IP address
ansible.utils.resolvable – Test if an IP or name can be resolved via /etc/hosts or DNS
ansible.utils.subnet_of – Test if a network is a subnet of another network
ansible.utils.supernet_of – Test if a network is a supernet of another network
ansible.utils.unspecified – Test for an unspecified IP address
ansible.utils.validate – Validate data with provided criteria
community.general
community.general.a_module – Test whether a given string refers to an existing module or action plugin