Hi!

I pretty new to ansible and I have tried to read the docs on how to best 
differentiate configurations.

Everything seems very clean if every server have a _very_ specific purpose 
like "dbserver" or something. But Im having a hard time to figure this out 
in my pretty small environment of 10 machines where the servers have 
several roles.


*One example could be my NTP setup:*

I have ~10 server managed by ansible. Half of them live in aws ec2 and half 
in my home. Now, I would like to configure NTP on all these servers in a 
sensible and effective way.

The amazon servers I would like to have different "ntp servers" for 
different availability zones or sites.

Locally I have one GPS enabled NTP server which is the "master". 
  - I want this "master" to peer with one or two other ntp-servers at home.
  - This means I need different configs for every peer and aslo the master.

I also have several machines that would just just use the "master" and its 
peers as servers.

This gives me 7-10 different NTP configurations and Im not sure how to use 
roles, groups, variables and templates to differentiate these configs.

I would be very happy to receive suggestions on how to manage this kind of 
setup with ansible.

Thanks!

/Peter.

-- 
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/b371f7c4-b432-47f1-a5ae-80d4ff287ccc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to