Compare commits
No commits in common. "59c5347ffb302b0e7bf4d87cc26d0f7ceff4042c" and "34c493de3e03ee510bee50a1128b2a665b942058" have entirely different histories.
59c5347ffb
...
34c493de3e
@ -1,10 +0,0 @@
|
||||
[Service]
|
||||
SystemCallFilter=
|
||||
SystemCallFilter=~@privileged
|
||||
SystemCallFilter=~@resources
|
||||
|
||||
ProcSubset=
|
||||
ProtectClock=
|
||||
ProtectHostname=
|
||||
ProtectKernelLogs=
|
||||
ProtectProc=
|
@ -1,19 +0,0 @@
|
||||
---
|
||||
- name: create grafana-server.service.d
|
||||
file:
|
||||
path: /etc/systemd/system/grafana-server.service.d
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
state: directory
|
||||
|
||||
- name: configure systemd override
|
||||
copy:
|
||||
src: Ubuntu-18-override.conf
|
||||
dest: /etc/systemd/system/grafana-server.service.d/10-override.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify:
|
||||
- grafana daemon-reload
|
||||
- restart grafana
|
@ -4,7 +4,7 @@
|
||||
vars:
|
||||
possible_files:
|
||||
files:
|
||||
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||
- "{{ ansible_distribution }}.yaml"
|
||||
- "{{ ansible_os_family }}.yaml"
|
||||
- "default.yaml"
|
||||
@ -16,17 +16,8 @@
|
||||
vars:
|
||||
possible_files:
|
||||
files:
|
||||
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||
- "{{ ansible_distribution }}.yaml"
|
||||
- "default.yaml"
|
||||
paths:
|
||||
- tasks
|
||||
|
||||
- name: include os family specific tasks
|
||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
||||
vars:
|
||||
possible_files:
|
||||
files:
|
||||
- "{{ ansible_os_family }}.yaml"
|
||||
- "default.yaml"
|
||||
paths:
|
||||
|
@ -32,9 +32,9 @@ server {
|
||||
{% if grafana_ssl_enabled is defined and
|
||||
grafana_ssl_enabled %}
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen 443 ssl;
|
||||
{% if ansible_all_ipv6_addresses | length %}
|
||||
listen [::]:443 ssl http2;
|
||||
listen [::]:443 ssl;
|
||||
{% endif %}
|
||||
server_name {{ grafana_domain }};
|
||||
|
||||
@ -51,8 +51,6 @@ server {
|
||||
ssl_dhparam {{ grafana_ssl_dhparam }};
|
||||
{% endif %}
|
||||
|
||||
proxy_set_header Host $http_host;
|
||||
|
||||
location /login {
|
||||
limit_req zone=req_grafana_login burst=10;
|
||||
proxy_pass http://grafana_backend;
|
||||
|
Loading…
Reference in New Issue
Block a user