forked from harshavardhanc/sensu_ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.yml
35 lines (29 loc) · 807 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
#- name: ----------------------------- Starting Sensu Installation ---------------------------------
# hosts: remote
# roles:
# - { role: sensu, tags: 'sensu-role' }
# - { role: redis, tags: 'redis-role' }
# - { role: rabbitmq, tags: 'rabbitmq-role' }
# - { role: uchiwa, tags: 'uchiwa-role' }
########
- name: Starting Sensu Installation
hosts: sensu
roles:
- { role: sensu-server, tags: 'sensu-server-role' }
- name: Redis
hosts: redis
roles:
- { role: redis, tags: 'redis-role' }
- name: Rabbitmq
hosts: rabbitmq
roles:
- { role: rabbitmq, tags: 'rabbitmq-role' }
- name: Uchiwa
hosts: sensu
roles:
- { role: uchiwa, tags: 'uchiwa-role' }
- name: Sensu-Client
hosts: sensu-client
roles:
- { role: sensu-client, tags: 'sensu-client-role'}