I've got a situation where I'm applying roles to a system locally, much in the 
style of ansible-pull. The role has a number of defaults, but I wish to 
override those defaults with custom details specific to this particular 
environment. My wish is to provide those overrides via an external file to the 
role, something we can iterate on without having to change the role code itself 
(as it is distributed through a different method).

I'm looking for ideas on how to make this work. I had originally thought to 
make use of ansible local facts, in /etc/ansible/facts.d/*.fact files However 
that results in variables named ansible.local.<filename>.<blockname>.<key>  
which obviously cannot override a role default as-is.

Any thoughts you all might have would be appreciated!

-jlk

-- 
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/E49F5617-E7A4-4A18-8331-E2F194D2EDDC%40j2solutions.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to