Added comment in readme for support of es_xpack_custom_url

This commit is contained in:
Dale McDiarmid 2017-08-18 20:01:31 +01:00
parent 3a0940fcb7
commit 00faa9115a
3 changed files with 7 additions and 5 deletions

View file

@ -110,3 +110,4 @@ suites:
attributes: attributes:
provisioner: provisioner:
playbook: test/integration/xpack-standard.yml playbook: test/integration/xpack-standard.yml
idempotency_test: true

View file

@ -34,7 +34,6 @@ The application of the elasticsearch role results in the installation of a node
The simplest configuration therefore consists of: The simplest configuration therefore consists of:
``` ```
---
- name: Simple Example - name: Simple Example
hosts: localhost hosts: localhost
roles: roles:
@ -79,7 +78,7 @@ The following illustrates applying configuration parameters to an Elasticsearch
es_heap_size: 1g es_heap_size: 1g
es_api_port: 9201 es_api_port: 9201
``` ```
`
The role utilises Elasticsearch version defaults. The following should be set to ensure a successful cluster forms. The role utilises Elasticsearch version defaults. The following should be set to ensure a successful cluster forms.
* ```es_config['http.port']``` - the http port for the node * ```es_config['http.port']``` - the http port for the node
@ -95,7 +94,6 @@ The role makes no attempt to enforce the setting of these are requires users to
A more complex example: A more complex example:
``` ```
---
- name: Elasticsearch with custom configuration - name: Elasticsearch with custom configuration
hosts: localhost hosts: localhost
roles: roles:
@ -229,8 +227,10 @@ The parameter `es_xpack_features` by default enables all features i.e. it defaul
The following additional parameters allow X-Pack to be configured: The following additional parameters allow X-Pack to be configured:
* ```es_message_auth_file``` System Key field to allow message authentication. This file should be placed in the 'files' directory. * ```es_message_auth_file``` System Key field to allow message authentication. This file should be placed in the 'files' directory.
* ```es_xpack_custom_url``` Url from which X-Pack can be downloaded. This can be used for installations in isolated environments where the elastic.co repo is not accessible. e.g. ```es_xpack_custom_url: "https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-5.5.1.zip"```
* ```es_role_mapping``` Role mappings file declared as yml as described [here](https://www.elastic.co/guide/en/x-pack/current/mapping-roles.html) * ```es_role_mapping``` Role mappings file declared as yml as described [here](https://www.elastic.co/guide/en/x-pack/current/mapping-roles.html)
``` ```
es_role_mapping: es_role_mapping:
power_user: power_user:

View file

@ -1,6 +1,6 @@
#Tests x-pack is idempotent and works when security is not enabled #Tests x-pack is idempotent and works when security is not enabled
--- ---
- name: Elasticsearch Xpack tests initial - name: Elasticsearch Xpack tests - no security and manual download
hosts: localhost hosts: localhost
roles: roles:
- { role: elasticsearch, es_api_port: 9200, es_config: { "http.port": 9200, "transport.tcp.port":9300, discovery.zen.ping.unicast.hosts: "localhost:9300" }, es_instance_name: "security_node" } - { role: elasticsearch, es_api_port: 9200, es_config: { "http.port": 9200, "transport.tcp.port":9300, discovery.zen.ping.unicast.hosts: "localhost:9300" }, es_instance_name: "security_node" }
@ -8,6 +8,7 @@
es_version: "5.5.1" es_version: "5.5.1"
es_heap_size: 2g es_heap_size: 2g
es_enable_xpack: true es_enable_xpack: true
es_xpack_custom_url: "https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-5.5.1.zip"
es_xpack_features: es_xpack_features:
- monitoring - monitoring
- graph - graph