mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-25 05:10:20 +00:00
chore: include vars go_arch and go_arch_map needed for getting the exporter from GH
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
This commit is contained in:
parent
dd0dbaadd6
commit
745154f8d5
1 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
---
|
||||
go_arch_map:
|
||||
i386: '386'
|
||||
x86_64: 'amd64'
|
||||
aarch64: 'arm64'
|
||||
armv7l: 'armv7'
|
||||
armv6l: 'armv6'
|
||||
|
||||
go_arch: "{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}"
|
||||
_influxdb_exporter_repo: "prometheus/influxdb_exporter"
|
||||
_influxdb_exporter_github_api_headers: "{{ {'GITHUB_TOKEN': lookup('ansible.builtin.env', 'GITHUB_TOKEN')} if (lookup('ansible.builtin.env', 'GITHUB_TOKEN')) else {} }}"
|
||||
|
|
Loading…
Reference in a new issue