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
648 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
538 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 13, 2019 in Ansible by Barbara
408 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, 2020 in Ansible by MD
• 95,440 points
482 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,507 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
521 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
511 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP