{"id":20645067,"url":"https://github.com/romanow/ansible-elastic-role","last_synced_at":"2026-02-14T12:02:13.256Z","repository":{"id":146005193,"uuid":"334122518","full_name":"Romanow/ansible-elastic-role","owner":"Romanow","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-29T14:40:09.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-21T18:49:35.884Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Romanow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-29T11:16:36.000Z","updated_at":"2021-01-29T14:40:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"64bdde5a-0283-4477-a581-300fbea8d7e0","html_url":"https://github.com/Romanow/ansible-elastic-role","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Romanow/ansible-elastic-role","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Romanow%2Fansible-elastic-role","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Romanow%2Fansible-elastic-role/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Romanow%2Fansible-elastic-role/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Romanow%2Fansible-elastic-role/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Romanow","download_url":"https://codeload.github.com/Romanow/ansible-elastic-role/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Romanow%2Fansible-elastic-role/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29443468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T10:51:12.367Z","status":"ssl_error","status_checked_at":"2026-02-14T10:50:52.088Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T16:18:36.223Z","updated_at":"2026-02-14T12:02:13.235Z","avatar_url":"https://github.com/Romanow.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible ElasticSearch role\n\n![Build Status](https://github.com/Romanow/ansible-elastic-role/workflows/build/badge.svg)\n\nInstall ElasticSearch, configure a cluster and user security and ssl communication between nodes. Install using apt-get.\n\n### Requirements\n* Ubuntu 20.04\n* Ansible 2.10\n* Python 3\n\n### Variables\n```yaml\nelastic_version: \"7.10.2\"\nelastic_user: elasticsearch\nelastic_group: elasticsearch\n\nelastic_config_dir: /etc/elasticsearch\nelastic_log_dir: /var/log/elasticsearch\nelastic_home_dir: /usr/share/elasticsearch\nelastic_cert_dir: \"{{ elastic_config_dir }}/certs\"\nelastic_bin_dir: \"{{ elastic_home_dir }}/bin\"\nelastic_data_dir: /var/log/elasticsearch\nelastic_bind_host: \"{{ ansible_host }}\"\n\nuser_home_dir: /home/{{ ansible_user }}\n\nelastic_http_port: 9200\nelastic_transport_port: 9300\n\nelastic_cluster_enable: false # enable cluster\n# hosts in cluster\n# {{ groups.elastic | map('extract', hostvars, 'ansible_host') | product([elastic_transport_port]) | map('join', ':') }}\nelastic_discovery_hosts: []\nelastic_node_name: \"{{ inventory_hostname }}\" # node name, usually hostname\nelastic_node_roles: # node roles\n  - master\n  - data\n\nelastic_cluster_name: es_cluster # default cluster name\n# Nodes for initial cluster configuration\n# {{ groups.elastic | map('extract', hostvars, 'inventory_hostname') | list }}\nelastic_cluster_nodes: \"{{ inventory_hostname }}\"\n\nelastic_roles:\n  admin:\n    cluster:\n      - all\n    indices:\n      - names: \"*\"\n        privileges:\n          - all\n\nelastic_users:\n  - name: admin\n    password: root\n    roles:\n      - admin\n\nelastic_java_memory: 1g # Java -Xmx -Xms memory\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromanow%2Fansible-elastic-role","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromanow%2Fansible-elastic-role","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromanow%2Fansible-elastic-role/lists"}