- Stop forcing es_xpack_features variable in order to let elasticsearch install default features described in http://localhost:9200/_xpack - Change xpack test scope to be able to test default xpack install - xpack scenario will test xpack install with default features - xpack upgrade scenario will fully test security feature - oss-to-xpack-upgrade will test installing only other specific features - Cleanup some duplicate serverspec tests - Remove `system_key`feature (deprecated in 5.6 and removed in 6.0 - [Breaking Changes 6.0.0](https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking-6.0.0-xes.html)) - Cleanup some ansible code (especially in `when` conditions)
27 lines
764 B
YAML
27 lines
764 B
YAML
---
|
|
- name: Standard test for single node setup. Tests idempotence.
|
|
hosts: localhost
|
|
post_tasks:
|
|
- include: elasticsearch/test/integration/debug.yml
|
|
roles:
|
|
- elasticsearch
|
|
vars:
|
|
es_instance_name: "node1"
|
|
es_version: "{{ '7.0.0' if es_major_version == '7.x' else '6.7.1' }}" # This is set to an older version than the current default to force an upgrade
|
|
es_enable_xpack: false
|
|
es_heap_size: "1g"
|
|
|
|
- name: Standard test for single node setup. Tests idempotence.
|
|
hosts: localhost
|
|
post_tasks:
|
|
- include: elasticsearch/test/integration/debug.yml
|
|
roles:
|
|
- elasticsearch
|
|
vars:
|
|
es_instance_name: "node1"
|
|
es_enable_xpack: true
|
|
es_heap_size: "1g"
|
|
es_xpack_features:
|
|
- monitoring
|
|
- graph
|
|
- ml
|