-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathplaybook-stats-servers.yaml
42 lines (40 loc) · 1.1 KB
/
playbook-stats-servers.yaml
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
36
37
38
39
40
41
---
- name: Stats Servers
hosts: stats_servers
gather_facts: false
pre_tasks:
- name: Gathering Facts
setup:
tags: always
- name: Allow nginx to bind to InfluxDB port
community.general.seport:
ports: 8086
proto: tcp
setype: http_port_t
- name: Allow nginx to make proxy connections
ansible.posix.seboolean:
name: httpd_can_network_connect
state: true
persistent: true
roles:
- role: galaxyproject.general.virtual
tags: general
- role: galaxyproject.general.packages
tags: general
- role: galaxyproject.general.users
tags: general
- role: galaxyproject.general.paths
tags: general
- role: galaxyproject.general.copy
tags: general
- role: dj-wasabi.telegraf
tags: telegraf
- role: galaxyproject.telegraf_cvmfs
tags: telegraf
# FIXME: currently you run this once on startup using 2.5, then rerun again w/ stats_influxdb_auth_enabled set to fix
# the config
- role: usegalaxy_org.stats
- role: galaxyproject.nginx
tags: nginx
tags:
- stats