## ANSIBLE VAULT: COMPLETE ENCRYPTED FILE

Editing an encrypted file with Ansible Vault.

Ansible Terminal

     ansible-vault edit ronin_secret.yml

    Vault password: redhat

Stuff goes here

## ANSIBLE VAULT: COMPLETE ENCRYPTED FILE

Editing an encrypted file with Ansible Vault.

Ansible Terminal

    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    "/tmp/tmpQD4uZF.yml" 0L, 0C

This example demonstrates a basic loop with `with_items`. The loop sets a variable called "item", a template variable courtesy of the embedded Jinja2 template engine, with the list value that is in context.

There are many different and specialized types of task loops to work with. See the Loops documentation to go deeper.

## ANSIBLE VAULT: COMPLETE ENCRYPTED FILE

Editing an encrypted file with Ansible Vault.

Ansible Terminal

    movie_title: Ronin
    movie_phrase: 'Whenever there is any doubt, there is no doubt'
    movie_actor: Robert De Niro
    movie_character: Sam
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    :wq

This example demonstrates a basic loop with `with_items`. The loop sets a variable called "item", a template variable courtesy of the embedded Jinja2 template engine, with the list value that is in context.

There are many different and specialized types of task loops to work with. See the Loops documentation to go deeper.