Skip to content

wvoliveira/playbook-elastic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playbook elastic

Configure and tuning Elasticsearch hosts.

Works in theses clusters:

  • master.* (for manager cluster)
  • data.* (for storage data)
  • proxy.* (for forward requests)

Pay attention: This playbook doesnt install elasticsearch or jdk packages AND doesnt reboot ES or host!!
Some configs needs reboot service for works!

Tested:

  • CentOS-7.6
  • Elasticsearch-6.7.0 (xpack basic)
  • jdk1.8 (Oracle)

Learnings

  • If you clone VM, remember to delete the path contents /var/lib/elasticsearch/nodes/*

References

Examples how execute

Check syntax: ansible-playbook -i production microservices.yml --syntax-check
If root user run: ansible-playbook -u root -i production microservices.yml
If sudo run: ansible-playbook -b -i production microservices.yml

Check facts from OS

Run: ansible -u root -k -i "<hostname or address>," -m setup <hostname or address>

Releases

No releases published

Packages

No packages published

Languages