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 in Ansible by Faizal
55 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 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 in Ansible by Kavya
49 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 in Ansible by Barbara
16 views
0 votes
1 answer

How do I execute a shell script and then use the result in ansible

This can work out for you: - name: ...READ MORE

answered Apr 11, 2018 in Ansible by shubham
• 6,890 points
762 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
147 views
0 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 in Ansible by Takeshi
35 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 in Ansible by Kavya
57 views