[prometheus] Always use adm
parent
a93c453364
commit
57405f44a3
|
@ -20,5 +20,5 @@
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/default/prometheus-node-exporter
|
path: /etc/default/prometheus-node-exporter
|
||||||
regexp: '^ARGS='
|
regexp: '^ARGS='
|
||||||
line: "ARGS=\"--web.listen-address={{ ansible_fqdn }}:9100\""
|
line: "ARGS=\"--web.listen-address={{ ansible_hostname }}.adm.crans.org:9100\""
|
||||||
notify: Restart prometheus-node-exporter
|
notify: Restart prometheus-node-exporter
|
||||||
|
|
Loading…
Reference in New Issue