use include_vars to include license during tests
This commit is contained in:
parent
61a3ba32c5
commit
5da67786e2
2 changed files with 4 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
|
---
|
||||||
- name: Activate ES license (without shield authentication)
|
- name: Activate ES license (without shield authentication)
|
||||||
uri:
|
uri:
|
||||||
method: PUT
|
method: PUT
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,10 @@
|
||||||
- { role: elasticsearch, es_config: { "http.port": 9200, "transport.tcp.port":9300, discovery.zen.ping.unicast.hosts: "localhost:9300",
|
- { role: elasticsearch, es_config: { "http.port": 9200, "transport.tcp.port":9300, discovery.zen.ping.unicast.hosts: "localhost:9300",
|
||||||
"shield.authc.realms.file1.type": "file","shield.authc.realms.file1.order": 0, "shield.authc.realms.native1.type": "native","shield.authc.realms.native1.order": 1 },
|
"shield.authc.realms.file1.type": "file","shield.authc.realms.file1.order": 0, "shield.authc.realms.native1.type": "native","shield.authc.realms.native1.order": 1 },
|
||||||
es_instance_name: "shield_node" }
|
es_instance_name: "shield_node" }
|
||||||
|
include_vars: <%= ENV['ES_XPACK_LICENSE_FILE'] %>
|
||||||
vars:
|
vars:
|
||||||
es_templates: true
|
es_templates: true
|
||||||
es_enable_xpack: true
|
es_enable_xpack: true
|
||||||
es_xpack_license: <%= ENV['ES_XPACK_LICENSE'] %>
|
|
||||||
es_plugins:
|
es_plugins:
|
||||||
- plugin: lmenezes/elasticsearch-kopf
|
- plugin: lmenezes/elasticsearch-kopf
|
||||||
version: master
|
version: master
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue