apm-server gets fussy about file-permissions
"Exiting: error loading config file: config file ("/etc/apm-server/apm-server.yml") must be owned by the user identifier (uid=0) or root" apm-server is normally run under its own user, and permissions on /etc/apm-server/apm-server.yml reflect that, so we disable the check while running running `setup` under root. Change-Id: If25b446b49a29d1ac86261fe632bb6fe791f13ce
This commit is contained in:
parent
a6f6ec282e
commit
dc262581c6
@ -47,6 +47,9 @@
|
||||
{{ item }}
|
||||
{%- endif %}
|
||||
{{ elastic_beat_setup_options }}
|
||||
{% if elastic_beat_name == "apm-server" -%}
|
||||
--strict.perms=false
|
||||
{%- endif %}
|
||||
-e -v
|
||||
with_items: "{{ elastic_setup_flags }}"
|
||||
register: templates
|
||||
|
Loading…
x
Reference in New Issue
Block a user