Hi! Has anyone found any solution to this problem? Or a good workaround?
I'm hitting the same issue, that I would like to have host/group or 
inventory (like dev,prod) specific files, maybe also templates.
Storing them in variables would not work well, when e.g. you care about 
indentation, or when the data is binary...

Thanks for any help with that!
Krzysztof

W dniu niedziela, 19 kwietnia 2015 18:02:22 UTC+2 użytkownik Anand Buddhdev 
napisał:
>
> On 19 April 2015 at 16:54, Don Harper <[email protected] <javascript:>> 
> wrote:
>
> Hi Don,
>
> Hum...could you make use of git or svn, and just checkout host specific 
>> branches?  Might lead to a bit a bloat on the server side, but would keep 
>> the client side cleaner.
>>
>
> We floated this idea early on in our design, and our entire team felt that 
> a per-host branch would add too much overhead for us. Imagine managing a 
> few hundred hosts, and having to switch branches for each host to make 
> changes...
>
> I gave this some more thought last night, and it turns out that many of 
> the files we distribute are scripts or secret-less config files, and it's 
> not too bad if they are exposed to all our hosts. The number of files that 
> contain actual secrets are few, and the secrets are things like licence 
> files, so my trick of keeping them in variables works well.
>
> While Ansible was designed to be used in "push" mode, so that no state or 
> sensitive data needs to be kept on managed servers, it also has the "pull" 
> mode, which I really like, so we don't have to push anything. Clients check 
> in when they can and reconfigure themselves. Therefore, something that 
> would allow selective exposure of files and variables would be great!
>
> Anand
>

-- 
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/1d5808fe-f6f6-462d-b4f2-09315c65437d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to