ansible-loki-role/tasks/docker_driver.yml
2022-02-04 10:20:46 +01:00

14 lines
324 B
YAML

---
- name: Install Loki docker driver
community.docker.docker_plugin:
plugin_name: grafana/loki-docker-driver:latest
alias: loki
state: present
- name: Enable Loki docker driver
community.docker.docker_plugin:
plugin_name: grafana/loki-docker-driver:latest
state: enabled
notify: Restart Docker