geerlingguy / ansible-role-elasticsearch

Ansible Role - Elasticsearch
https://galaxy.ansible.com/geerlingguy/elasticsearch/
MIT License
185 stars 208 forks source link

Add ability to override template #90

Closed cblack34 closed 2 years ago

cblack34 commented 3 years ago

Hello,

First thanks for making this and so many other great roles I use all the time.

Add the ability to override the templates with your own template using variables.

I needed a bit more flexibility. I created default vars with the name of your templates and used those vars to call the templates in the tasks. Now you can set those vars to your own templates names and ansible will find them based on the lookup hierarchy. role → playbook → etc.

stale[bot] commented 2 years ago

This pull request has been marked 'stale' due to lack of recent activity. If there is no further activity, the PR will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark pull requests as stale.

stale[bot] commented 2 years ago

This pull request has been closed due to inactivity. If you feel this is in error, please reopen the pull request or file a new PR with the relevant details.