diff --git a/molecule/elasticsearch_no-security/verify.yml b/molecule/elasticsearch_no-security/verify.yml index 601be29f..48919b23 100644 --- a/molecule/elasticsearch_no-security/verify.yml +++ b/molecule/elasticsearch_no-security/verify.yml @@ -9,6 +9,7 @@ tasks: # Remember, this is the no-security scenario. So no https +# kics-scan ignore-block - name: Health check ansible.builtin.uri: url: http://localhost:{{ elasticstack_elasticsearch_http_port }}/_cluster/health @@ -22,6 +23,7 @@ delay: 10 when: groups[elasticstack_elasticsearch_group_name] | length > 1 +# kics-scan ignore-block - name: Node check ansible.builtin.uri: url: http://localhost:{{ elasticstack_elasticsearch_http_port }}/_cat/nodes diff --git a/roles/elasticsearch/tasks/main.yml b/roles/elasticsearch/tasks/main.yml index 69f8d63c..9215875e 100644 --- a/roles/elasticsearch/tasks/main.yml +++ b/roles/elasticsearch/tasks/main.yml @@ -244,6 +244,7 @@ enabled: yes register: elasticsearch_freshstart +# kics-scan ignore-block - name: Handle cluster setup without security when: not elasticsearch_security | bool block: