ansible-role-ansible/tasks/main.yml
d4rkstar 2828125e67 Specific role for debian (#4)
* Added specific role for Debian using backports repository

* Moved ubuntu to specific file

* Changed ansible_os_family to ansible_distribution for Debian/Ubuntu. Fixed my mistake where setup-Ubuntu.yml was a setup-RedHat copy
2016-08-30 19:19:02 -05:00

11 lines
233 B
YAML

---
# Setup/install tasks.
- include: setup-RedHat.yml
when: ansible_os_family == 'RedHat'
- include: setup-Ubuntu.yml
when: ansible_distribution == 'Ubuntu'
- include: setup-Debian.yml
when: ansible_distribution == 'Debian'