The most actual case with my configuration is: I have multiple machines
with the same apache configuration (application) except for ssl
certificates. Would one put the whole certificate into a variable (looks
strange to me)?
@Michael Peters:
I am using monit for monitoring. And depending on machine there are
completely different services to monitor. I could also do multiple roles
like 'monit_webservice' , 'monit_db', 'monit_application_a',
'monit_application_b' for just one configuration file. .... this would mean
a certain amount of duplication and it seems odd in terms of clarity. Also
some applications do not support a 'conf.d/' style. In my actual setup i
can see on a per-machine basis which services are monitored.
Am Freitag, 6. Februar 2015 14:46:35 UTC+1 schrieb ProfHase:
>
> Is there a feature in Ansible for host-based files/templates directory?
>
> In my actual setup i am keeping track of it manually (on playbook level
> there is a files/ directory with one directory for {{ inventory_hostname }}
> .
>
> Nicer would be the same mechanism as host_vars / group_vars . Sometimes
> vars are not sufficient (for example the monitoring configuration differs
> too much between the machines).
>
> Would it be worth a feature request?
>
> Regards Ilya
>
--
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/f3ee100c-3322-4c52-a26e-347f579e7266%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.