Open atarkowska opened 8 years ago
Probably not more hierarchy. I would assume we use the when:
clause to perform certain actions only on given platforms (though 2.0 features like https://docs.ansible.com/ansible/package_module.html will help as well)
You could split role/xxx/{tasks,vars,...}/main.yml
and use - include: "{{ ansible_os_family }}.yml
At the moment this repo only support CentOS7, what about Ubuntu and http://docs.ansible.com/ansible/apt_module.html? How this will be organized to support the same tasks for different OS? Do we need extra level of hierarchy?