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