ansible-collection-prometheus/roles/chrony_exporter/vars/main.yml
SuperQ 2f1e8a4be8
feat: Add chrony_exporter role
Add role for deploying the chrony_exporter.

Signed-off-by: SuperQ <superq@gmail.com>
2023-07-23 23:18:40 +02:00

11 lines
388 B
YAML

---
go_arch_map:
i386: '386'
x86_64: 'amd64'
aarch64: 'arm64'
armv7l: 'armv7'
armv6l: 'armv6'
go_arch: "{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}"
_chrony_exporter_repo: "superq/chrony_exporter"
_github_api_headers: "{{ {'GITHUB_TOKEN': lookup('ansible.builtin.env', 'GITHUB_TOKEN')} if (lookup('ansible.builtin.env', 'GITHUB_TOKEN')) else {} }}"