Shield to Security and other X-Pack clear up
This commit is contained in:
parent
86bc009b60
commit
197cf05a0e
18 changed files with 112 additions and 113 deletions
14
handlers/security/elasticsearch-security.yml
Normal file
14
handlers/security/elasticsearch-security.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
- name: Ensure elasticsearch is started
|
||||
service: name={{instance_init_script | basename}} state=started enabled=yes
|
||||
|
||||
- name: Wait for elasticsearch to startup
|
||||
wait_for: host={{es_api_host}} port={{es_api_port}} delay=10
|
||||
|
||||
- name: activate-license
|
||||
include: ./handlers/security/elasticsearch-xpack-activation.yml
|
||||
when: es_enable_xpack and es_xpack_license is defined and es_xpack_license != ''
|
||||
|
||||
- name: load-native-realms
|
||||
include: ./handlers/security/elasticsearch-security-native.yml
|
||||
when: (es_users is defined and es_users.native is defined) or (es_roles is defined and es_roles.native is defined)
|
||||
Loading…
Add table
Add a link
Reference in a new issue