|
|
@@ -19,11 +19,7 @@
|
|
|
src={{ sensu_client_config }}
|
|
|
notify: restart sensu-client service
|
|
|
|
|
|
- - include: SmartOS/client.yml
|
|
|
- when: ansible_distribution == SmartOS
|
|
|
-
|
|
|
- - include: Ubuntu/client.yml
|
|
|
- when: ansible_distribution == Ubuntu
|
|
|
+ - include: "{{ ansible_distribution }}/client.yml"
|
|
|
|
|
|
- name: Ensure Sensu client service is running
|
|
|
service: name=sensu-client state=started enabled=yes
|