Update tests to work with dynamic es_versions

This commit is contained in:
Michael Russell 2018-01-31 08:14:24 +01:00
parent 92244a7a71
commit 94b059080b
No known key found for this signature in database
GPG key ID: A90C1696496085FE
23 changed files with 127 additions and 65 deletions

View file

@ -1,6 +1,8 @@
---
- name: Elasticsearch Xpack tests initial
hosts: localhost
tasks:
- include: elasticsearch/test/integration/debug.yml
roles:
- { role: elasticsearch, es_api_port: 9200, es_config: { "http.port": 9200, "transport.tcp.port":9300, discovery.zen.ping.unicast.hosts: "localhost:9300",
"xpack.security.authc.realms.file1.type": "file","xpack.security.authc.realms.file1.order": 0, "xpack.security.authc.realms.native1.type": "native","xpack.security.authc.realms.native1.order": 1 },
@ -8,7 +10,8 @@
vars:
es_heap_size: "1g"
es_templates: true
es_version: "5.4.0"
es_major_version: "5.x"
es_version: "5.5.1"
es_enable_xpack: true
es_xpack_license: "{{ lookup('file', '/tmp/license.json') }}"
es_plugins:
@ -101,6 +104,8 @@
#modifies the installation. Changes es_admin password and upgrades ES. Tests confirm the correct version is installed.
- name: Elasticsearch Xpack modify
hosts: localhost
tasks:
- include: elasticsearch/test/integration/debug.yml
roles:
- { role: elasticsearch, es_api_port: 9200, es_config: { "http.port": 9200, "transport.tcp.port":9300, discovery.zen.ping.unicast.hosts: "localhost:9300",
"xpack.security.authc.realms.file1.type": "file","xpack.security.authc.realms.file1.order": 0, "xpack.security.authc.realms.native1.type": "native","xpack.security.authc.realms.native1.order": 1 },
@ -108,7 +113,8 @@
vars:
es_heap_size: "1g"
es_templates: true
es_version: "5.5.1"
es_major_version: "6.x"
es_version: "6.1.2"
es_enable_xpack: true
es_xpack_license: "{{ lookup('file', '/tmp/license.json') }}"
es_plugins:
@ -143,4 +149,4 @@
password: changeMeAlso!
roles:
- power_user
- user
- user