vault_encrypted¶
Collection Note
This module is part of the ansible.builtin collection. To install the collection, use:
Added in version2.10.
Synopsis¶
- Verifies if the input string is an Ansible vault or not
Parameters¶
| Parameter | Defaults / Choices | Comments |
|---|---|---|
| _input string required |
The possible vault string |
Examples¶
thisisfalse: '{{ "any string" is vault_encryped}}'
thisistrue: '{{ "$ANSIBLE_VAULT;1.2;AES256;dev...." is vault_encrypted}}'
Return Values¶
| Key | Data Type | Description | Returned |
|---|---|---|---|
| _value | boolean | Returns V(True) if the input is a valid ansible vault, V(False) otherwise. |
Authors¶
- Ansible Core