- hosts: localhost vars_files: - secret.yaml tasks: - debug: msg: "DB password: {{ db_password }}"