ANSIBLE VAULT

Encrypt an entire file or just a string inside a non-encrypted file.

Ansible Terminal : Encrypted File
 cat ronin_secret.yml 

$ANSIBLE_VAULT;1.1;AES256
61336361663664353737663637366334383030393736353532345
66532383233393438653965633333326632363935663132326163
306637626335643365630a653066396533313738316266653

Ansible Terminal : Encrypted Variable
 cat fonzie_secret.yml

fonzie_show: Happy Days
fonzie_secret: !vault |
          $ANSIBLE_VAULT;1.1;AES256
          6632363237353065633237633937353164646564633
          6376461326235386539663733343539666234332664
          6664616266316339383838373734653364346163633
          6663864366534633063303062363238393139