test plugins¶
This is the list of test plugins in the ansible.builtin collection:
| Plugin | Description |
|---|---|
| ansible.builtin.abs | is the path absolute |
| ansible.builtin.all | are all conditions in a list true |
| ansible.builtin.any | is any condition in a list true |
| ansible.builtin.change | did the task require changes |
| 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.failure | 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.is_abs | is the path absolute |
| ansible.builtin.is_dir | does the path resolve to an existing directory |
| ansible.builtin.is_file | does the path resolve to an existing file |
| ansible.builtin.is_link | does the path reference existing symbolic link |
| ansible.builtin.is_mount | does the path resolve to mount point |
| ansible.builtin.is_same_file | compares two paths to see if they resolve to the same filesystem object |
| ansible.builtin.isnan | is this not a number (NaN) |
| ansible.builtin.issubset | is the list a subset of this other list |
| ansible.builtin.issuperset | is the list a superset of this other list |
| 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.skip | Was task skipped |
| 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.succeeded | check task success |
| ansible.builtin.success | check task success |
| ansible.builtin.successful | check task success |
| ansible.builtin.superset | is the list a superset of this other list |
| ansible.builtin.timedout | did the task time out |
| 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 string |
| ansible.builtin.vaulted_file | Is this file an encrypted vault |
| ansible.builtin.version | compare version strings |
| ansible.builtin.version_compare | compare version strings |