PdfPrep.com

CORRECT TEXT

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

Exit mobile version