mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-22 03:43:09 +00:00
Update roles/influxdb_exporter/vars/main.yml
Co-authored-by: gardar <gardar@users.noreply.github.com> Signed-off-by: Davide Obbi <126786027+dobbi84@users.noreply.github.com> Signed-off-by: dobbi84 <davide.obbi@e4company.com>
This commit is contained in:
parent
40fa0afcd3
commit
9cd3949895
1 changed files with 5 additions and 8 deletions
|
@ -1,12 +1,9 @@
|
|||
---
|
||||
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_go_ansible_arch: "{{ {'i386': '386',
|
||||
'x86_64': 'amd64',
|
||||
'aarch64': 'arm64',
|
||||
'armv7l': 'armv7',
|
||||
'armv6l': 'armv6'}.get(ansible_architecture, 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