
On 08/07/15 17:36, Brian May wrote:
The talk on Ansible yesterday made it look like the rules are Debian specific.
Sorry, I should have made it clear that I happen to use Debian, but Ansible can manage any servers - including Windows servers. I did mention that it will use PowerShell for Windows servers.
If you have a mix of Redhat / Debian systems, is it possible to use Ansible? Is it possible to do this without duplicating rules for Debian systems and for Redhat systems?
It's definitely possible and intended that Ansible can be used for heterogenous networks.
e.g. if you want a rule that installs vim, regardless of if apt-get or yum is used, what would this rule look like?
There is a "yum" module that is the equivalent of the "apt" module, and you would use whichever one you need depending on the server OS. If you have a mix of servers, you still need to know which servers are running which OS, and you would probably put the servers into distinct groups and have some distinct rules for each group. Hope that helps, Andrew