ANSIBLE VAULT: ENCRYPTED VARIABLE

Including an encrypted variable in a plaintext playbook.

Ansible Terminal

 ansible-playbook --ask-vault-pass fonzie_playbook.yml 

Vault password: 

PLAY [localhost] *************************************************************************************************************

TASK [Gathering Facts] *******************************************************************************************************
ok: [localhost]

TASK [prove that we can read the variable within the encrypted string] *******************************************************
ok: [localhost] => {
    "msg": "Fonzie is a character from the TV show, Happy Days. He rides a Motorcycle,
    wears a Leather jacket, and has an office in the Mens room at Arnold's Diner.
    
    Fonzie is most famous for his stunt where he Jumped The Shark, after which, 
    he said Aaaaaaayyyyyyyy!"
}

PLAY RECAP *******************************************************************************************************************
localhost                  : ok=2    changed=0    unreachable=0    failed=0