--- - name: Test secrets.yml hosts: localhost vars: admin_user: joseadm admin_password: changeme tasks: # - name: Import variables from Ansible vault # ansible.builtin.include_vars: # ../../secrets.yml - name: debug secrets.yml" ansible.builtin.debug: msg: "The value of the secret is {{ test_password }}"