Merge branch 'master' into feature-github-actions
This commit is contained in:
commit
1d025d520d
2
roles/elastic-stack/ansible-elasticsearch/tasks/main.yml
Normal file → Executable file
2
roles/elastic-stack/ansible-elasticsearch/tasks/main.yml
Normal file → Executable file
@ -128,6 +128,7 @@
|
|||||||
validate_certs: no
|
validate_certs: no
|
||||||
status_code: 200,401
|
status_code: 200,401
|
||||||
return_content: yes
|
return_content: yes
|
||||||
|
force_basic_auth: yes
|
||||||
timeout: 4
|
timeout: 4
|
||||||
register: _result
|
register: _result
|
||||||
until: ( _result.json is defined) and (_result.json.status == "green")
|
until: ( _result.json is defined) and (_result.json.status == "green")
|
||||||
@ -145,6 +146,7 @@
|
|||||||
password: "{{ elasticsearch_xpack_security_password }}"
|
password: "{{ elasticsearch_xpack_security_password }}"
|
||||||
body: '{ "password" : "{{ item.value["password"] }}", "roles" : {{ item.value["roles"] }} }'
|
body: '{ "password" : "{{ item.value["password"] }}", "roles" : {{ item.value["roles"] }} }'
|
||||||
validate_certs: no
|
validate_certs: no
|
||||||
|
force_basic_auth: yes
|
||||||
loop: "{{ elasticsearch_xpack_users|default({})|dict2items }}"
|
loop: "{{ elasticsearch_xpack_users|default({})|dict2items }}"
|
||||||
register: http_response
|
register: http_response
|
||||||
failed_when: http_response.status != 200
|
failed_when: http_response.status != 200
|
||||||
|
|||||||
1
roles/elastic-stack/ansible-kibana/tasks/main.yml
Normal file → Executable file
1
roles/elastic-stack/ansible-kibana/tasks/main.yml
Normal file → Executable file
@ -146,6 +146,7 @@
|
|||||||
password: "{{ elasticsearch_xpack_security_password }}"
|
password: "{{ elasticsearch_xpack_security_password }}"
|
||||||
validate_certs: no
|
validate_certs: no
|
||||||
status_code: 200, 404
|
status_code: 200, 404
|
||||||
|
force_basic_auth: yes
|
||||||
|
|
||||||
- name: Create wazuh plugin config directory
|
- name: Create wazuh plugin config directory
|
||||||
file:
|
file:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user