Posted by: Pdfprep
Post Date: February 1, 2021
CORRECT TEXT
Create anansible vault password file calledlock.ymlwith the passwordreallysafepwin the /home/sandy/ansibledirectory. In the lock.yml file define two variables. One ispw_devand the password is ‘dev’ and the otherpwis_mgrand the password is ‘mgr’ Create a regular file calledsecret.txtwhich contains the password for lock.yml.
Answer: ansible-vault create lock.yml
New Vault Password: reallysafepw
Confirm: reallysafepw
Leave a Reply