ansible-collection-prometheus/roles/mongodb_exporter/vars/main.yml
Oleg Klyuchkin 3e4ff17886
feat: Add mongodb_exporter (#293)
* feat: Add mongodb_exporter

---------

Signed-off-by: anviar <oleg.kluchkin+github@gmail.com>
2024-02-22 14:43:51 +01:00

11 lines
391 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) }}"
_mongodb_exporter_repo: "percona/mongodb_exporter"
_github_api_headers: "{{ {'GITHUB_TOKEN': lookup('ansible.builtin.env', 'GITHUB_TOKEN')} if (lookup('ansible.builtin.env', 'GITHUB_TOKEN')) else {} }}"