mirror of
https://github.com/prometheus-community/ansible
synced 2025-02-16 20:58:26 +00:00
13 lines
915 B
YAML
13 lines
915 B
YAML
---
|
|
_blackbox_exporter_go_ansible_arch: "{{ {'i386': '386',
|
|
'x86_64': 'amd64',
|
|
'aarch64': 'arm64',
|
|
'armv7l': 'armv7',
|
|
'armv6l': 'armv6'}.get(ansible_architecture, ansible_architecture) }}"
|
|
_blackbox_exporter_repo: "prometheus/blackbox_exporter"
|
|
_github_api_headers: "{{ {'GITHUB_TOKEN': lookup('ansible.builtin.env', 'GITHUB_TOKEN')} if (lookup('ansible.builtin.env', 'GITHUB_TOKEN')) else {} }}"
|
|
_blackbox_exporter_binaries: ['blackbox_exporter']
|
|
_blackbox_exporter_dependencies: "{% if (ansible_pkg_mgr == 'apt') %}\
|
|
{{ (['python-apt', 'libcap2-bin'] if ansible_python_version is version('3', '<') else ['python3-apt', 'libcap2-bin']) }}
|
|
{% else %}\
|
|
{% endif %}"
|