[ansible] Always group_by the OS

pull/28/head
Alpha Chen 9 years ago
parent 4001767c98
commit b24ba57917

@ -2,6 +2,7 @@
- hosts: all - hosts: all
tasks: tasks:
- group_by: key=os_{{ ansible_distribution }} - group_by: key=os_{{ ansible_distribution }}
tags: always
- hosts: all - hosts: all
pre_tasks: pre_tasks:
@ -16,9 +17,7 @@
- hosts: os_MacOSX - hosts: os_MacOSX
roles: roles:
- role: homebrew - role: homebrew
when: ansible_distribution == "MacOSX"
- role: osx - role: osx
when: ansible_distribution == "MacOSX"
- hosts: all - hosts: all
roles: roles:

Loading…
Cancel
Save