Demonstrate a way to switch the role defaults based on Operating System,
allowing the end user of the role to override the values in host_vars
or
group_vars
None.
multi_var
is a variable that has a different default based on which OS is in use.
None.
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- multi-os-role
Apache-2.0 or MIT or BSD-3-Clause