I'm trying to work out a system that will accommodate user specific
settings for things like credentials (using vault) and user specific facts.
 I'd like to be able to load .yml and .ini style.
I use --start-at-task a lot, so ideally, i would like something like
ansible_facts that will always be run.  There are so many ways to almost do
what I want...

The new /etc/ansible/facts.d would work, but I need it on the
ansible_controller not the remote hosts.

- include_vars:  user_settings.ini
or
vars_files:
  - user_settings.ini

would be good enough, but it only works for .yml files.

It looked like vars_plugins should do the trick but i haven't figured it
out and it hangs with no useful message.

I even tried adding the variables to .ansible.cfg and doing for them what
is done for ansible_managed in utils/template.py and constants.py but i
can't replicate the magic of ansible_managed being available everywhere.

So.  What's a good way to do this?
I would prefer to do it in a way that keeps it out of the main ansible tree.

kesten

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to