Add influxdb server for metrics

This commit is contained in:
Jake Howard
2021-02-14 16:24:45 +00:00
parent ec0c78e6d9
commit b3a72eb8f1
7 changed files with 63 additions and 3 deletions

View File

@ -1,4 +1,4 @@
- name: Create install directory
- name: Create grafana install directory
file:
path: /opt/grafana
state: directory
@ -6,9 +6,9 @@
mode: "{{ docker_compose_directory_mask }}"
become: true
- name: Install compose file
- name: Install grafana compose file
template:
src: files/docker-compose.yml
src: files/docker-compose-grafana.yml
dest: /opt/grafana/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"