roles/devbox/tasks/main.yml

changeset 10
ee86092e374a
parent 8
b2d82cd36d68
child 11
8e5dcc6e199a
--- 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

mercurial