File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
molecule/elasticsearch_no-security
roles/elasticsearch/tasks Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- # This is an example playbook to execute Ansible tests.
2
+ # kics-scan disable=2e8d4922-8362-4606-8c14-aa10466a1ce3
3
+ # above command will disable scanning for `http` (without `s`)
4
+ # connections
3
5
4
6
- name : Verify
5
7
hosts : all
9
11
tasks :
10
12
11
13
# Remember, this is the no-security scenario. So no https
12
- # kics-scan ignore-block
13
14
- name : Health check
14
15
ansible.builtin.uri :
15
16
url : http://localhost:{{ elasticstack_elasticsearch_http_port }}/_cluster/health
23
24
delay : 10
24
25
when : groups[elasticstack_elasticsearch_group_name] | length > 1
25
26
26
- # kics-scan ignore-block
27
27
- name : Node check
28
28
ansible.builtin.uri :
29
29
url : http://localhost:{{ elasticstack_elasticsearch_http_port }}/_cat/nodes
Original file line number Diff line number Diff line change 1
1
---
2
+ # kics-scan disable=2e8d4922-8362-4606-8c14-aa10466a1ce3
3
+ # above command will disable scanning for `http` (without `s`)
4
+ # connections
2
5
3
6
- name : Check for versions
4
7
ansible.builtin.fail :
244
247
enabled : yes
245
248
register : elasticsearch_freshstart
246
249
247
- # kics-scan ignore-block
248
250
- name : Handle cluster setup without security
249
251
when : not elasticsearch_security | bool
250
252
block :
You can’t perform that action at this time.
0 commit comments