aboutsummaryrefslogtreecommitdiff
path: root/roles/services/monitoring/influxdb/tasks
diff options
context:
space:
mode:
authorSam Chudnick <sam@chudnick.com>2023-06-25 09:52:36 -0400
committerSam Chudnick <sam@chudnick.com>2023-06-25 09:52:36 -0400
commit95b73daa36b23565a8566f71f9b202d3459b685f (patch)
treecb17b021be70e7868d0ec235a761f0ecdc80f3f2 /roles/services/monitoring/influxdb/tasks
Initial CommitHEADmaster
Diffstat (limited to 'roles/services/monitoring/influxdb/tasks')
-rw-r--r--roles/services/monitoring/influxdb/tasks/main.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/roles/services/monitoring/influxdb/tasks/main.yml b/roles/services/monitoring/influxdb/tasks/main.yml
new file mode 100644
index 0000000..06d6e86
--- /dev/null
+++ b/roles/services/monitoring/influxdb/tasks/main.yml
@@ -0,0 +1,19 @@
1- name: install packages
2 package:
3 name: "{{ influxdb_packages }}"
4 state: latest
5
6- name: copy config
7 notify: restart influxdb
8 copy:
9 src: "{{ influx_config }}"
10 dest: /etc/influxdb/influxdb.conf
11 owner: root
12 group: root
13 mode: '0644'
14
15- name: enable influxdb
16 systemd:
17 name: influxdb
18 enabled: yes
19 masked: no