-
Notifications
You must be signed in to change notification settings - Fork 40
/
playbook.yml
34 lines (33 loc) · 1.18 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
33
34
---
- name: Provision Netdata registry
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
ansible.builtin.include_role:
name: ansible-nodejs
- name: Include ansible-netdata
ansible.builtin.include_role:
name: ansible-netdata
- name: Provision 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
ansible.builtin.include_role:
name: ansible-nodejs
- name: Include ansible-netdata
ansible.builtin.include_role:
name: ansible-netdata