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 71
71
dest : /etc/nginx/sites-enabled/nginx-status.conf
72
72
notify : Restart nginx
73
73
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
74
77
- name : Prometheus nginx exporter
75
78
lineinfile :
76
79
dest : /etc/default/prometheus-nginx-exporter
77
80
state : present
78
81
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"'
80
83
notify : Restart nginx-exporter
81
84
82
85
- name : Create storage dir for exporter settings
You can’t perform that action at this time.
0 commit comments