## ANSIBLE VAULT: COMPLETE ENCRYPTED FILE

Including vaulted files in your playbook.

Ansible Terminal

    ---
    - hosts: web
      become: yes
      vars:
        country_setting: France
        city_opening_scene: Montmartre

      vars_files:
        - ronin_secret.yml

      tasks:
      - name: Ensure httpd package is present
        yum:
          name: httpd
          state: latest

      - name: Verify correct index file is present
        template:
          src: templates/index.html.j2
          dest: /var/www/html/index.html

Stuff goes here

## ANSIBLE VAULT: COMPLETE ENCRYPTED FILE

Including vaulted files in your playbook.

Ansible Terminal

    ---
    - hosts: web
      become: yes
      vars:
        country_setting: France
        city_opening_scene: Montmartre

      vars_files:
        - ronin_secret.yml

      tasks:
      - name: Ensure httpd package is present
        yum:
          name: httpd
          state: latest

      - name: Verify correct index file is present
        template:
          src: templates/index.html.j2
          dest: /var/www/html/index.html

Stuff goes here