Commit 20482b06 authored by Bernhard Geier's avatar Bernhard Geier
Browse files

carbon-cache nicht auf dem öffentlichen Interface lauschen lassen

parent e13d1c73
......@@ -18,24 +18,48 @@
mode: "0644"
notify: restart carbon-cache
- name: Limit carbon-cache LINE_RECEIVER_INTERFACE to 127.0.0.1
lineinfile:
path: "/etc/carbon/carbon.conf"
regexp: '^LINE_RECEIVER_INTERFACE\s*='
line: 'LINE_RECEIVER_INTERFACE = 127.0.0.1'
notify: restart carbon-cache
- name: Limit carbon-cache CACHE_QUERY_INTERFACE to 127.0.0.1
lineinfile:
path: "/etc/carbon/carbon.conf"
regexp: '^CACHE_QUERY_INTERFACE\s*='
line: 'CACHE_QUERY_INTERFACE = 127.0.0.1'
notify: restart carbon-cache
- name: Disable carbon-cache PICKLE_RECEIVER_PORT
lineinfile:
path: '/etc/carbon/carbon.conf'
regexp: '^PICKLE_RECEIVER_PORT\s*='
line: 'PICKLE_RECEIVER_PORT = 0'
notify: restart carbon-cache
- name: Create empty storage-aggregation to silence log warnings
copy:
content: ""
dest: '/etc/carbon/storage-aggregation.conf'
force: no
mode: "0644"
notify: restart carbon-cache
- name: Configure Graphite - set SECRET_KEY
lineinfile:
path: '/etc/graphite/local_settings.py'
regexp: '^SECRET_KEY\*s='
line: "SECRET_KEY = '{{ graphite_secret_key }}'"
notify: restart apache2
- name: Configure Graphite - set TIME_ZONE
lineinfile:
path: '/etc/graphite/local_settings.py'
regexp: '^TIME_ZONE\*s='
line: "TIME_ZONE = 'Europe/Berlin'"
notify: restart apache2
- name: Enable graphite-web site in Apache2
copy:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment