Grafana on :3000

certbot_on_virtu
Alexandre Iooss 2020-05-03 14:19:00 +02:00 committed by Bombar Maxime
parent 1088847326
commit 6bc22ab116
2 changed files with 1 additions and 11 deletions

View File

@ -98,7 +98,7 @@
- {from: re2o.crans.org, to: 10.231.136.9} - {from: re2o.crans.org, to: 10.231.136.9}
- {from: intranet.crans.org, to: 10.231.136.9} - {from: intranet.crans.org, to: 10.231.136.9}
- {from: autoconfig.crans.org, to: 10.231.136.46} - {from: autoconfig.crans.org, to: 10.231.136.46}
- {from: grafana.crans.org, to: 10.231.136.102} - {from: grafana.crans.org, to: "10.231.136.102:3000"}
- {from: webirc.crans.org, to: "10.231.136.1:9000"} - {from: webirc.crans.org, to: "10.231.136.1:9000"}
- {from: framadate.crans.org, to: 10.231.136.153} - {from: framadate.crans.org, to: 10.231.136.153}

View File

@ -33,13 +33,6 @@
retries: 3 retries: 3
until: apt_result is succeeded until: apt_result is succeeded
# This capability enables grafana to bind :80
- name: Add cap_net_bind_service to grafana
capabilities:
path: /usr/sbin/grafana-server
capability: cap_net_bind_service+ep
state: present
- name: Configure Grafana - name: Configure Grafana
ini_file: ini_file:
path: /etc/grafana/grafana.ini path: /etc/grafana/grafana.ini
@ -48,9 +41,6 @@
value: "{{ item.value }}" value: "{{ item.value }}"
mode: 0640 mode: 0640
loop: loop:
- section: server
option: http_port
value: "80"
- section: server - section: server
option: root_url option: root_url
value: "{{ grafana_root_url }}" value: "{{ grafana_root_url }}"