Debian Codegraph @

lib/ansible/plugins/test/vaulted_file.yml

raw
1 DOCUMENTATION:
2 name: vaulted_file
3 author: Ansible Core
4 version_added: "2.18"
5 short_description: Is this file an encrypted vault
6 description:
7 - Verifies if the input path is an Ansible vault file.
8 options:
9 _input:
10 description: The path to the possible vault.
11 type: path
12 required: True
13 EXAMPLES: |
14 thisisfalse: '{{ "/etc/hosts" is vaulted_file}}'
15 thisistrue: '{{ "/path/to/vaulted/file" is vaulted_file}}'
16 RETURN:
17 _value:
18 description: Returns V(True) if the path is a valid ansible vault, V(False) otherwise.
19 type: boolean