Elasticsearch role forces restart
jmeickle opened this issue · 1 comments
This is sort of a dupe of this issue: geerlingguy/ansible-role-nginx#21
Likewise, your Elasticsearch role explicitly restarts the service at the end of it. This doesn't work well if you want to modify ES configuration in another role executed after yours (in my case, modifying /etc/sysconfig/elasticsearch to increase heap size). Anyone who really, definitely needs elasticsearch running before executing another role should probably split them into different plays.
Closing this issue in favor of #7; it's not a direct duplicate, but for now I'm okay with the limitation of this role doing the restart at the end, as it makes things slightly less complicated in some scenarios, and it would require at least a minor version bump to change it.