File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
provision-contest/ansible/roles/prometheus_target_web/tasks Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 7171 dest : /etc/nginx/sites-enabled/nginx-status.conf
7272 notify : Restart nginx
7373
74+ # In the future add: --web.config /etc/prometheus/prometheus-authentication.yml"'
75+ # see: https://github.com/nginxinc/nginx-prometheus-exporter
76+ # The version at the WFLuxor in the repository is not new enough
7477- name : Prometheus nginx exporter
7578 lineinfile :
7679 dest : /etc/default/prometheus-nginx-exporter
7780 state : present
7881 regexp : ' ^ARGS=""'
79- line : ' ARGS="-- nginx.scrape-uri=http://localhost:8787/basic_status --web.config /etc/prometheus/prometheus-authentication.yml "'
82+ line : ' ARGS="-nginx.scrape-uri=http://localhost:8787/basic_status"'
8083 notify : Restart nginx-exporter
8184
8285- name : Create storage dir for exporter settings
You can’t perform that action at this time.
0 commit comments