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

9 lines
542 B
YAML

---
_pushgateway_go_ansible_arch: "{{ {'i386': '386',
'x86_64': 'amd64',
'aarch64': 'arm64',
'armv7l': 'armv7',
'armv6l': 'armv6'}.get(ansible_architecture, ansible_architecture) }}"
_pushgateway_repo: "prometheus/pushgateway"
_github_api_headers: "{{ {'GITHUB_TOKEN': lookup('ansible.builtin.env', 'GITHUB_TOKEN')} if (lookup('ansible.builtin.env', 'GITHUB_TOKEN')) else {} }}"
_pushgateway_binaries: ['pushgateway']