Hello, I'm still new to ansible and have a lot of questions on my mind. Maybe someone could answer two of them.
In my environment I have a lot of Red Hat and some SUSE servers. I'd like to use ansible to configure the settings for DNS and NTP on these hosts. To get the most out of a tool like ansible I assume that there must be some kind of module where I could define the values for my DNS and NTP servers and ansible discovers the target operating system and sets the desired values properly. But I didn't find any module to do so. For an example, I would not like to create seperate plays for the different systems to tell them on Red Hat put the values there and on SUSE put them somewhere else. I simply like to play something like "set DNS to 192.168.1.1 and NTP to 192.168.1.2 on all hosts in my inventory". I think about something like the "package"-module for package installation on different operating systems. I would appreciate if someone could give an example on how to do that. Regards, Joerg -- 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/61ff1e0f-ed52-4069-a687-92c91eb1f2cc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
