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:
|
environment:
|
||||||
- TZ=Europe/London
|
- TZ=Europe/London
|
||||||
volumes:
|
volumes:
|
||||||
- ./grafana:/var/lib/grafana
|
- /mnt/tank/app-data/grafana:/var/lib/grafana
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
|
|
|
@ -10,15 +10,6 @@
|
||||||
docker_network:
|
docker_network:
|
||||||
name: grafana
|
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
|
- name: Install compose file
|
||||||
template:
|
template:
|
||||||
src: files/docker-compose.yml
|
src: files/docker-compose.yml
|
||||||
|
|
Loading…
Reference in a new issue