mirror of
https://github.com/aljazceru/ansible-elasticsearch.git
synced 2025-12-17 17:14:20 +01:00
Reporting should not be declared as x-pack feature
This commit is contained in:
@@ -209,7 +209,7 @@ ansible-playbook -i hosts ./your-playbook.yml
|
||||
|
||||
X-Pack features, such as Security, are supported. This feature is currently experimental. To enable X-Pack set the parameter `es_enable_xpack` to true and list the required features in the parameter `es_xpack_features`.
|
||||
|
||||
The parameter `es_xpack_features` by default enables all features i.e. it defaults to ["alerting","monitoring","graph","security","reporting"]
|
||||
The parameter `es_xpack_features` by default enables all features i.e. it defaults to ["alerting","monitoring","graph","security"]
|
||||
|
||||
The following additional parameters allow X-Pack to be configured:
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ es_work_dir: "/tmp/elasticsearch"
|
||||
es_max_open_files: 65536
|
||||
es_allow_downgrades: false
|
||||
es_enable_xpack: false
|
||||
es_xpack_features: ["alerting","monitoring","graph","security","reporting"]
|
||||
es_xpack_features: ["alerting","monitoring","graph","security"]
|
||||
#These are used for internal operations performed by ansible.
|
||||
#They do not effect the current configuration
|
||||
es_api_host: "localhost"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#List currently installed plugins - ignore xpack if > v 2.0
|
||||
- name: Check installed elasticsearch plugins
|
||||
shell: "{{es_home}}/bin/elasticsearch-plugin list | grep -vE 'x-pack|license'"
|
||||
shell: "{{es_home}}/bin/elasticsearch-plugin list | grep -vE 'x-pack'"
|
||||
register: installed_plugins
|
||||
failed_when: "'ERROR' in installed_plugins.stdout"
|
||||
changed_when: False
|
||||
|
||||
@@ -35,7 +35,3 @@ xpack.monitoring.enabled: false
|
||||
{% if not "alerting" in es_xpack_features %}
|
||||
xpack.watcher.enabled: false
|
||||
{% endif %}
|
||||
|
||||
{% if not "reporting" in es_xpack_features %}
|
||||
xpack.reporting.enabled: false
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user