From ace457509cf2a247112548572360a0d76c802732 Mon Sep 17 00:00:00 2001 From: shockrah Date: Sun, 17 Apr 2022 16:43:02 -0700 Subject: [PATCH] + Loki logging plugin installation --- docker-host/setup/tasks/install-loki-logger.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 docker-host/setup/tasks/install-loki-logger.yml diff --git a/docker-host/setup/tasks/install-loki-logger.yml b/docker-host/setup/tasks/install-loki-logger.yml new file mode 100644 index 0000000..b66df14 --- /dev/null +++ b/docker-host/setup/tasks/install-loki-logger.yml @@ -0,0 +1,12 @@ +# 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 \ No newline at end of file