Posted by: Pdfprep
Post Date: January 19, 2021
CORRECT TEXT
Create a file called mysecret.yml on the control host using ansible vault in home/bob/ansible. Set the password to ‘notasafepass’ and inside the file create a variable called dev_pass with the value of devops. Save the file. Then go back in the file and change dev_pass value to devops123. Then change the vault password of mysecret.yml to verysafepass
Answer: ansible-vault create lock.yml
New Vault Password: reallysafepw
Confirm: reallysafepw
Leave a Reply