Fix for issue #369
This commit is contained in:
parent
0676799d1c
commit
e9a6f74d09
8 changed files with 216 additions and 47 deletions
|
|
@ -2,10 +2,20 @@
|
|||
#Modify the playbook below and test with kitchen i.e. `kitchen test issue-test`
|
||||
#To add custom tests modify the serverspec file ./helpers/serverspec/issue_test_spec.rb
|
||||
#Idempot test is enabled for this test
|
||||
|
||||
- name: Simple Example
|
||||
hosts: localhost
|
||||
roles:
|
||||
- { role: elasticsearch, es_config: { "xpack.security.authc.realms.file1.type": "file", "xpack.security.authc.realms.file1.order": 1, "xpack.security.authc.realms.native1.type": "native", "xpack.security.authc.realms.native1.order": 0 }, es_instance_name: "security_node" }
|
||||
- {
|
||||
role: elasticsearch,
|
||||
es_config:
|
||||
{
|
||||
"xpack.security.authc.realms.file1.type": "file",
|
||||
"xpack.security.authc.realms.file1.order": 1,
|
||||
"xpack.security.authc.realms.native1.type": "native",
|
||||
"xpack.security.authc.realms.native1.order": 0
|
||||
},
|
||||
es_instance_name: "security_node" }
|
||||
vars:
|
||||
es_heap_size: "1g"
|
||||
es_enable_xpack: true
|
||||
|
|
@ -17,8 +27,27 @@
|
|||
es_api_basic_auth_username: elastic
|
||||
es_api_basic_auth_password: changeme
|
||||
es_users:
|
||||
native:
|
||||
testUser:
|
||||
file:
|
||||
kibana:
|
||||
password: changeme
|
||||
roles:
|
||||
- kibana_user
|
||||
- kibana_system
|
||||
test_user:
|
||||
password: changeme
|
||||
roles:
|
||||
- kibana_system
|
||||
native:
|
||||
kibana:
|
||||
password: changeme
|
||||
roles:
|
||||
- kibana_system
|
||||
elastic:
|
||||
password: aNewPassWord
|
||||
es_roles:
|
||||
native:
|
||||
logstash:
|
||||
cluster:
|
||||
- manage_index_templates
|
||||
logstash_system:
|
||||
cluster:
|
||||
- manage_index_templates
|
||||
Loading…
Add table
Add a link
Reference in a new issue