change how we determine the ip. run script on search and import nodes as well

This commit is contained in:
m0duspwnens
2020-09-16 09:48:38 -04:00
parent 6806bd2461
commit dd56d7d2d1
2 changed files with 5 additions and 3 deletions

View File

@@ -237,7 +237,7 @@ so-elasticsearch-pipelines:
- file: esyml
- file: so-elasticsearch-pipelines-file
{% if grains['role'] in ['so-manager', 'so-eval', 'so-managersearch', 'so-standalone', 'so-heavynode'] and TEMPLATES %}
{% if grains['role'] in ['so-manager', 'so-eval', 'so-managersearch', 'so-standalone', 'so-heavynode', 'so-searchnode', 'so-import'] and TEMPLATES %}
so-elasticsearch-templates:
cmd.run:
- name: /usr/sbin/so-elasticsearch-templates