Move grafana to ZFS

Don't need to create the directory anymore really
This commit is contained in:
Jake Howard 2020-08-22 12:07:44 +01:00
parent f517831435
commit 9ffdd4d711
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 1 additions and 10 deletions

View file

@ -6,7 +6,7 @@ services:
environment:
- TZ=Europe/London
volumes:
- ./grafana:/var/lib/grafana
- /mnt/tank/app-data/grafana:/var/lib/grafana
restart: unless-stopped
networks:
- default

View file

@ -10,15 +10,6 @@
docker_network:
name: grafana
- name: Create config directory
file:
path: /opt/grafana/grafana
state: directory
mode: "{{ docker_compose_directory_mask }}"
owner: "472"
group: "472"
become: true
- name: Install compose file
template:
src: files/docker-compose.yml