mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-25 13:20:22 +00:00
f084b71dbc
Add new role: `memcached_exporter` Signed-off-by: SuperQ <superq@gmail.com>
11 lines
398 B
YAML
11 lines
398 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) }}"
|
|
_memcached_exporter_repo: "prometheus/memcached_exporter"
|
|
_github_api_headers: "{{ {'GITHUB_TOKEN': lookup('ansible.builtin.env', 'GITHUB_TOKEN')} if (lookup('ansible.builtin.env', 'GITHUB_TOKEN')) else {} }}"
|