4 ms·
Ansible doesn't seek to be programming, so my guess is no. I generally am not a fan of that syntax and would disagree that that is the way most administrators
by mpdehaan2 13y ago
Ansible doesn't seek to be programming, so my guess is no. I generally am not a fan of that syntax and would disagree that that is the way most administrators and developers brains work -- but I guess I can see it for some who do think that way.
Multiple OSes are pretty straightforward though. Look at the 'group_by' module for dynamically carving up machines based on operating system, and things like the 'when' statement for introducing conditional behavior.
Variables can also be overriden based on groups, so you can define defaults in one group and then have different settings in other groups.