I would like to include variables from a file on the remote host, rather than the control machine Ansible is running on.
For example I have a file /var/database_credentials.yml (on my webserver)
What's the best way to add variables from that file to hostvars so that I can use them in a template?
The include_vars module only takes files from the control machine. I could use the fetch module but that seems like an unnecessary step.