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
47 views

1 answer to this question.

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
32 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
45 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,810 points
86 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
19 views