mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-22 11:53:12 +00:00
2f1e8a4be8
Add role for deploying the chrony_exporter. Signed-off-by: SuperQ <superq@gmail.com>
11 lines
388 B
YAML
11 lines
388 B
YAML
---
|
|
go_arch_map:
|
|
i386: '386'
|
|
x86_64: 'amd64'
|
|
aarch64: 'arm64'
|
|
armv7l: 'armv7'
|
|
armv6l: 'armv6'
|
|
|
|
go_arch: "{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}"
|
|
_chrony_exporter_repo: "superq/chrony_exporter"
|
|
_github_api_headers: "{{ {'GITHUB_TOKEN': lookup('ansible.builtin.env', 'GITHUB_TOKEN')} if (lookup('ansible.builtin.env', 'GITHUB_TOKEN')) else {} }}"
|