Document copy module vault decryption behavior (#17777)

This commit is contained in:
fajpunk 2016-09-28 15:23:52 -05:00 committed by Brian Coca
parent c917198415
commit a64266e7f5

View file

@ -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 :) 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_files:
Creating Encrypted Files Creating Encrypted Files