Reviewed-on: Netz39_Admin/netz39-infra-ansible#497 Reviewed-by: Stefan Haun <tux@netz39.de>
23 lines
664 B
YAML
23 lines
664 B
YAML
---
|
|
- name: Tasks for docker hosts
|
|
hosts: docker_host
|
|
become: true
|
|
|
|
roles:
|
|
- role: netz39.host_docker
|
|
|
|
- name: Tasks for docker hosts at location space
|
|
hosts: docker_host:&location_space
|
|
become: true
|
|
|
|
roles:
|
|
- role: lespocky.telegraf_docker_in_docker
|
|
when: (ansible_architecture == "x86_64")
|
|
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 }}"
|