[prometheus] Always use adm
parent
a93c453364
commit
57405f44a3
|
@ -20,5 +20,5 @@
|
|||
lineinfile:
|
||||
path: /etc/default/prometheus-node-exporter
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue