From 95b73daa36b23565a8566f71f9b202d3459b685f Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Sun, 25 Jun 2023 09:52:36 -0400 Subject: Initial Commit --- roles/services/monitoring/influxdb/tasks/main.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 roles/services/monitoring/influxdb/tasks/main.yml (limited to 'roles/services/monitoring/influxdb/tasks') 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 @@ +- name: install packages + package: + name: "{{ influxdb_packages }}" + state: latest + +- name: copy config + notify: restart influxdb + copy: + src: "{{ influx_config }}" + dest: /etc/influxdb/influxdb.conf + owner: root + group: root + mode: '0644' + +- name: enable influxdb + systemd: + name: influxdb + enabled: yes + masked: no -- cgit v1.2.3