What files can be encrypted using the Ansible Vault?

0 votes
I know Aansible Vault is used to encrypt files and protect sensitive data but what sort of files can get encrypted?
Jan 29 in Ansible by Umang
46 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Yes @Umang, Ansible Vault is used to encrypt variable files. It can encrypt any sort of yaml file. Most commonly encrypted files are:

  1. Files within the group_vars directory
  2. A role's defaults/main.yml file
  3. A role's vars/main.yml file
  4. Any other file used to store variables.
answered Jan 29 by Kavya

Related Questions In Ansible

0 votes
1 answer

Can Ansible modules be used from the command line?

Yes @Donna, you can execute a module ...READ MORE

answered Feb 11 in Ansible by Tariq
27 views
0 votes
1 answer

View the encrypted file without decrypting - Ansible Vault

Hey @Laksha, you can view the file ...READ MORE

answered Mar 6 in Ansible by William
40 views
0 votes
1 answer

How can I create a new user using ansible ploybook?

You're switching from the root user. Root ...READ MORE

answered Mar 29, 2018 in Ansible by DareDev
• 6,710 points
81 views
0 votes
3 answers
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

Upload encrypted file using ansible vault?

You can do this, make your playbook ...READ MORE

answered Jan 29 in Ansible by Faizal
18 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.