what does ansible-vault edit command do?

0 votes

I opened an encrypted file to edit using this command:

ansible-vault edit

It opened in the decrypted format, now I'm confused if it was ever encrypted. 

Feb 11, 2019 in Ansible by Faizal
192 views

1 answer to this question.

0 votes

Hey @Faizal, your worry is obvious in such sensitive situations. To check if your file was ever encrypted, open is using any of your favorite editors.

vi filename

If it shows gibberish then its encrypted(lol until you've stored some gibberish data). 

ansible-vault edit

The following command decrypts the encrypted file and then opens for you to edit. As soon as you close the editor it automatically re-encrypts the data. 

answered Feb 11, 2019 by Mariam

Related Questions In Ansible

0 votes
1 answer

What is Ansible Vault?

Vault is something that holds the encrypted ...READ MORE

answered Jan 29, 2019 in Ansible by Kavya
116 views
0 votes
1 answer

My roles have a directory called files. What does it do?

This directory contains regular files that need ...READ MORE

answered Mar 12, 2019 in Ansible by Barbara
44 views
0 votes
1 answer

What does Fact mean in Ansible?

Hi@akhtar, When any new variable about the system ...READ MORE

answered Aug 11 in Ansible by MD
• 55,740 points
31 views
+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
675 views
+2 votes
1 answer
0 votes
1 answer

What all can I do with Ansible?

Ansible is capable of doing a lot ...READ MORE

answered Jan 8, 2019 in Ansible by Takeshi
101 views
0 votes
1 answer

What files can be encrypted using the Ansible Vault?

Yes @Umang, Ansible Vault is used to ...READ MORE

answered Jan 29, 2019 in Ansible by Kavya
161 views