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
23 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
37 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
9 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,480 points
221 views
+13 votes
2 answers
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
14 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
43 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.