netz39-infra-ansible/group-docker_host.yml
Alexander Dahl b22c86758e 🚚 Migrate docker_host role to external project
We used a similar local role here, in the Freifunk Magdeburg project,
and in personal playbooks.  That was moved to an external project,
unified, and reworked, so the external role can act as replacement for
the distributed, redundant copies.

Link: https://github.com/netz39/ansible-role-host-docker
2025-02-23 19:18:21 +01:00

20 lines
537 B
YAML

---
- hosts: docker_host
become: true
roles:
- role: netz39.host_docker
- hosts: docker_host:&location_space
become: true
roles:
- role: lespocky.telegraf_docker_in_docker
vars:
tdid_conf_dir: "/etc/telegraf"
tdid_influxdb_org: "{{ influxdb_org }}"
tdid_influx_token: "{{ vault_tdid_influx_token }}"
tdid_docker_image: "telegraf:1.24-alpine"
tdid_influxdb_url: "https://influx.n39.eu"
tdid_influxdb_bucket: "system_metrics"
tdid_timezone: "{{ timezone }}"