CORRECT TEXT

Posted by: Pdfprep Category: EX407 Tags: , ,

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

RedHat-EX40722_1

Leave a Reply

Your email address will not be published.