This repository was archived by the owner on Jun 24, 2022. It is now read-only.
This repository was archived by the owner on Jun 24, 2022. It is now read-only.
init service name and dir names #205
Closed
Description
Maybe I'm missing something, but I've looked at the README and issues but have found no response.
Tried against an Ubuntu 16.04
The playbook installs elasticsearch but I cannot find the init script.
I reboot the machine and elasticsearch is being started up, but alas, I cannot find the init or init.d script.
I need that to manually restart or check the service.
There is also something nasty: elaticsearch dirs are named like this: my-server-ip
-node1
Replaced with xx:
path.data: /opt/elasticsearch/data/138.68.xx.xxx-node1
path.work: /opt/elasticsearch/temp/138.68.xx.xxx-node1
path.logs: /opt/elasticsearch/logs/138.68.xx.xxx-node1
How can I avoid that? I would prefer no prefix or localhost prefix, as the IP is not even fixed!
The playbook is not run locally.
My playbook:
---
- name: Configure servers with Elastic Search
hosts: newservers
become: yes
roles:
#expand to all available parameters
- { role: elasticsearch, es_instance_name: "node1", es_heap_size: "200m", es_data_dirs: "/opt/elasticsearch/data", es_log_dir: "/opt/elasticsearch/logs", es_work_dir: "/opt/elasticsearch/temp",
es_config: {
bootstrap.mlockall: true, index.merge.scheduler.max_thread_count: 1,
}
}
vars:
es_scripts: true
es_heap_size: 256m
es_start_service: true
es_plugins_reinstall: false
es_plugins:
- plugin: cloud-aws
Metadata
Metadata
Assignees
Labels
No labels