mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Document copy
module vault decryption behavior (#17777)
This commit is contained in:
parent
c917198415
commit
a64266e7f5
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ The vault feature can encrypt any structured data file used by Ansible. This ca
|
|||
|
||||
Ansible tasks, handlers, and so on are also data so these can be encrypted with vault as well. To hide the names of variables that you're using, you can encrypt the task files in their entirety. However, that might be a little too much and could annoy your coworkers :)
|
||||
|
||||
The vault feature can also encrypt arbitrary files, even binary files. If a vault-encrypted file is given as the `src` argument to the `copy` module, the file will be placed at the destination on the target host decrypted (assuming a valid vault password is supplied when running the play).
|
||||
|
||||
.. _creating_files:
|
||||
|
||||
Creating Encrypted Files
|
||||
|
|
Loading…
Reference in a new issue