ansible-collection-prometheus/roles/chrony_exporter/vars/main.yml
gardar 95889b9962
refactor(chrony_exporter): delegate common tasks to _common role
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-15 17:04:27 +00:00

10 lines
627 B
YAML

---
_chrony_exporter_go_ansible_arch: "{{ {'i386': '386',
'x86_64': 'amd64',
'aarch64': 'arm64',
'armv7l': 'armv7',
'armv6l': 'armv6'}.get(ansible_architecture, 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 {} }}"
chrony_exporter_binary_install_dir: "/usr/local/bin"
_chrony_exporter_binaries: ['chrony_exporter']