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, 2019 in Ansible by Umang

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, 2019 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, 2019 in Ansible by Tariq
0 votes
1 answer

View the encrypted file without decrypting - Ansible Vault

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

answered Mar 6, 2019 in Ansible by William
0 votes
1 answer
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,890 points
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
+2 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, 2019 in Ansible by Faizal