We need to be able to assign the OS to each node type, probably using a variable. The OS variable is used to determine whether to run apt or yum, etc. Here's a sketch of what it needs to look like:
If Ansible's variable support in the hosts file doesn't do what we need, Write a Python script that parses a custom YAML configuration file and generates the ansible_hosts file in the necessary format.
We need to be able to assign the OS to each node type, probably using a variable. The OS variable is used to determine whether to run
apt
oryum
, etc. Here's a sketch of what it needs to look like:If Ansible's variable support in the hosts file doesn't do what we need, Write a Python script that parses a custom YAML configuration file and generates the
ansible_hosts
file in the necessary format.