syntax fix

This commit is contained in:
tchivert 2023-02-06 15:44:42 +01:00
parent 48897bc54a
commit 028c2a8eaa

View File

@ -7,7 +7,7 @@
- name: 'prometheus | server | create docker network' - name: 'prometheus | server | create docker network'
docker_network: docker_network:
name: '{{ prometheus_docker_network }}' name: '{{ prometheus_docker_network }}'
tags: ['prometheus_server'] tags: ['prometheus_server']
- name: 'prometheus | server | create docker volume data' - name: 'prometheus | server | create docker volume data'
@ -50,7 +50,7 @@
- '--web.console.templates=/usr/share/prometheus/consoles' - '--web.console.templates=/usr/share/prometheus/consoles'
- '--web.enable-admin-api' - '--web.enable-admin-api'
networks: networks:
- { name: {{ prometheus_docker_network }} } - name: '{{ prometheus_docker_network }}'
ports: ports:
- "9090:9090" - "9090:9090"
log_driver: syslog log_driver: syslog