refactor: yml -> yaml
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
14
roles/node_exporter/vars/main.yaml
Normal file
14
roles/node_exporter/vars/main.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
go_arch_map:
|
||||
i386: "386"
|
||||
x86_64: "amd64"
|
||||
aarch64: "arm64"
|
||||
armv7l: "armv7"
|
||||
armv6l: "armv6"
|
||||
|
||||
go_arch: "{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}"
|
||||
|
||||
bind_port: 9100
|
||||
version: "latest"
|
||||
serve: "localhost"
|
||||
options: ""
|
||||
bin_path: "/usr/local/bin/node_exporter"
|
||||
Reference in New Issue
Block a user