--- a/roles/devbox/tasks/main.yml +++ b/roles/devbox/tasks/main.yml @@ -1,7 +1,13 @@ --- -- include: debian.yml - when: ansible_distribution == 'Debian' +- include: dist-debian.yml + when: ansible_os_family == 'Debian' + +- include: dist-macosx.yml + when: ansible_os_family == 'MacOSX' + +- include: dist-freebsd.yml + when: ansible_os_family == 'FreeBSD' # sudo may not be everywhere. wheel is a common alternative