mirror of
https://github.com/prometheus-community/ansible
synced 2025-02-16 12:48:26 +00:00
to allow ANSIBLE_INJECT_FACT_VARS to become false Signed-off-by: Marcus Klein <marcus.klein@open-xchange.com>
9 lines
615 B
YAML
9 lines
615 B
YAML
---
|
|
_systemd_exporter_go_ansible_arch: "{{ {'i386': '386',
|
|
'x86_64': 'amd64',
|
|
'aarch64': 'arm64',
|
|
'armv7l': 'armv7',
|
|
'armv6l': 'armv6'}.get(ansible_facts['architecture'], ansible_facts['architecture']) }}"
|
|
_systemd_exporter_repo: "prometheus-community/systemd_exporter"
|
|
_github_api_headers: "{{ {'GITHUB_TOKEN': lookup('ansible.builtin.env', 'GITHUB_TOKEN')} if (lookup('ansible.builtin.env', 'GITHUB_TOKEN')) else {} }}"
|
|
_systemd_exporter_binaries: ['systemd_exporter']
|