feat(loki): add role for deployment using ansible

This commit is contained in:
2023-10-15 18:08:38 +02:00
parent f84fed4867
commit e707dbc31c
6 changed files with 145 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
---
- name: Ensure loki is reloaded
listen: loki_reload
community.docker.docker_container:
name: "{{ loki_container_name }}"
state: "started"
restart: true
force_kill: true
kill_signal: "HUP"
when: "loki_container_state in ['started', 'present']"