ansible-collection-prometheus/roles/bind_exporter/vars/main.yml
gardar bc290813a4
refactor(bind_exporter): delegate common tasks to _common role
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-15 17:01:51 +00:00

9 lines
570 B
YAML

---
_bind_exporter_go_ansible_arch: "{{ {'i386': '386',
'x86_64': 'amd64',
'aarch64': 'arm64',
'armv7l': 'armv7',
'armv6l': 'armv6'}.get(ansible_architecture, ansible_architecture) }}"
_bind_exporter_repo: "prometheus-community/bind_exporter"
_github_api_headers: "{{ {'GITHUB_TOKEN': lookup('ansible.builtin.env', 'GITHUB_TOKEN')} if (lookup('ansible.builtin.env', 'GITHUB_TOKEN')) else {} }}"
_bind_exporter_binaries: ['bind_exporter']