Move grafana to ZFS
Don't need to create the directory anymore really
This commit is contained in:
parent
f517831435
commit
9ffdd4d711
2 changed files with 1 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue