Skip to content

Commit

Permalink
Merge pull request #56 from nasa/remove-es-password
Browse files Browse the repository at this point in the history
fix(vuln): remove default elasticsearch password
  • Loading branch information
darith27 authored Oct 1, 2024
2 parents c3ab088 + 816854a commit b8e7778
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/roles/elasticsearch/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ elasticsearch_http_port: 9200
elasticsearch_transport_port: 9300

# An example of how to use the uri module to check if Elasticsearch is running
# ansible localhost -m uri -a "url='http://localhost:9200' method=GET user=elastic password='eApmGGeHMeJcn3ZuaBk5'"
elasticsearch_password: 'eApmGGeHMeJcn3ZuaBk5'
# ansible localhost -m uri -a "url='http://localhost:9200' method=GET user=elastic password='your password here'"

# This may not be in defaults. You must configure it.
# elasticsearch_password: pick a secure password here

elasticsearch_username: "elastic"

elasticsearch_version: "7.10.2"
Expand Down

0 comments on commit b8e7778

Please sign in to comment.