Do not pass the parameter that sets the port, we use the default.
This commit is contained in:
parent
19daa6b326
commit
d7dcdcdf6c
|
@ -3,7 +3,7 @@ prometheus_n_e_install: True
|
|||
prometheus_n_e_version: 1.0.1
|
||||
prometheus_n_e_port: 9100
|
||||
prometheus_n_e_loglevel: info
|
||||
prometheus_n_e_opts: '--web.listen-address=":{{ prometheus_n_e_port }}" --log.level={{ prometheus_n_e_loglevel }}'
|
||||
prometheus_n_e_opts: '--log.level={{ prometheus_n_e_loglevel }}'
|
||||
# List the additional options here
|
||||
prometheus_n_e_additional_opts: ''
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ Restart=on-failure
|
|||
User={{ prometheus_n_e_user }}
|
||||
Group={{ prometheus_n_e_user }}
|
||||
|
||||
ExecStart={{ prometheus_n_e_cmd }} {{ prometheus_n_e_opts }} {{ prometheus_n_e_additional_opts }} --collector.systemd
|
||||
ExecStart={{ prometheus_n_e_cmd }} {{ prometheus_n_e_opts }} {{ prometheus_n_e_additional_opts }} --collector.systemd
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in New Issue