Skip to content

Commit

Permalink
chore: include vars go_arch and go_arch_map needed for getting the ex…
Browse files Browse the repository at this point in the history
…porter from GH
  • Loading branch information
dobbi84 committed Sep 25, 2024
1 parent ec33f0f commit 91ea023
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions roles/influxdb_exporter/vars/main.yml
Original file line number Diff line number Diff line change
@@ -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 {} }}"

0 comments on commit 91ea023

Please sign in to comment.