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
66 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
48 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
86 views
0 votes
0 answers

how can we unarchive multiple different files using ansible-playbook? i tried this yml file its getting error

---   - hosts: all     become: yes     vars:     - path: /home/ansadmin     tasks:     - name: ...READ MORE

Aug 17 in Ansible by Rajendra
• 450 points
165 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
127 views
+13 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,380 points
206 views
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
31 views