rice/docker-host/roles/setup/tasks/install-loki-logger.yml

12 lines
417 B
YAML
Raw Normal View History

2022-04-17 23:43:02 +00:00
# This playbook installs the loki docker plugin which allows other docker based
# services to do they're regular logging actions but centralize them
---
- hosts: leftcoastlab
become: yes
tasks:
# --grant-all-permissions is the default for ansible
- name: Install Loki Docker Plugin
community.docker.docker_plugin:
plugin_name: grafana/loki-docker-driver:latest
state: enabled
alias: loki