-
Notifications
You must be signed in to change notification settings - Fork 96
/
upload.yml
44 lines (43 loc) · 1.15 KB
/
upload.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
36
37
38
39
40
41
42
43
44
---
- name: Install and configure rustus
hosts: upload
become: true
become_user: root
vars_files:
- secret_group_vars/all.yml
- group_vars/all.yml
- secret_group_vars/sentry.yml
- mounts/mountpoints.yml
- mounts/dest/all.yml
pre_tasks:
- ansible.posix.firewalld:
zone: public
port: 1080-1081/tcp
permanent: true
state: enabled
- name: Copy Rustus request monitoring script
ansible.builtin.copy:
content: "{{ rustus_monitor_requests }}"
dest: "{{ rustus_monitor_requests_path }}"
mode: "0755"
owner: root
group: root
roles:
- role: usegalaxy_eu.handy.os_setup
vars:
enable_remap_user: true
enable_create_user: true
enable_kernel_5: true
enable_install_software: true
- influxdata.chrony
- dj-wasabi.telegraf
## Filesystems
- usegalaxy-eu.autofs # Setup the mount points which will be needed later
- usegalaxy_eu.rustus
post_tasks:
- name: add telegraf to systemd-journal
ansible.builtin.user:
name: telegraf
groups:
- systemd-journal
append: true