forked from mrlesmithjr/ansible-netdata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
playbook.yml
32 lines (31 loc) · 1.06 KB
/
playbook.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
---
- hosts: netdata_registry
vars:
netdata_registry_enabled: true
netdata_registry_to_announce: "http://{{ netdata_stream_master_node }}:{{ netdata_default_port }}"
pri_domain_name: test.vagrant.local
netdata_stream_enabled: true
netdata_stream_api_key: 359CCA67-C678-49E7-9A39-DEC1B92DFB34
netdata_stream_master_node: 192.168.250.10
tasks:
- name: Include ansible-nodejs
include_role:
name: ansible-nodejs
- name: Include ansible-netdata
include_role:
name: ansible-netdata
- hosts: netdata:!netdata_registry
vars:
netdata_registry_enabled: false
netdata_registry_to_announce: "http://{{ netdata_stream_master_node }}:{{ netdata_default_port }}"
pri_domain_name: test.vagrant.local
netdata_stream_enabled: true
netdata_stream_api_key: 359CCA67-C678-49E7-9A39-DEC1B92DFB34
netdata_stream_master_node: 192.168.250.10
tasks:
- name: Include ansible-nodejs
include_role:
name: ansible-nodejs
- name: Include ansible-netdata
include_role:
name: ansible-netdata