1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# https://quire.kejadlen.dev/pro-tacts
- name: Set up pro-tacts
hosts: lotus-land-story
vars:
version: "{{ versions.pro_tacts }}"
tasks:
- name: Create pro-tacts data directory
ansible.builtin.file:
path: /mnt/lotus-land-story/pro-tacts
state: directory
mode: "0755"
- name: Run pro-tacts
community.docker.docker_container:
name: pro-tacts
image: ghcr.io/kejadlen/pro-tacts:{{ version }}
pull: always
env:
PRO_TACTS_DATA_DIR: /data
PRO_TACTS_DEBUG: "true"
# Full URL — pro-tacts' Tracing.configure passes it straight to the
# OTLP exporter; unset, spans reach Sentry alone
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: http://victoria-traces:10428/insert/opentelemetry/v1/traces
volumes:
- /mnt/lotus-land-story/pro-tacts:/data
networks:
- name: lotus_land_story
restart_policy: unless-stopped
state: started
handlers:
- name: Import restarts
ansible.builtin.import_tasks: restarts.yml
# vim: ft=yaml.ansible