Also, you should not need to import these files, the first should already
be loaded automatically (ansible aways matches hostname inside host_vars).
A way to have both autoloaded is:
host_vars/{{inventory_hostname}}/clear.yml
host_vars/{{inventory_hostname}}/encyrpted.yml
as it will match the directory and import all files for that host.
As per scoping, I'm not sure what you mean, Ansible does not distinguish on
variable names, but when/where they are defined.
----------
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CACVha7cGnKbmdsZ8Uu7rCw8xEoQz2kW7fKm-jAjviSYVh0BWcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.