diff --git a/salt/common/tools/sbin/so-index-list b/salt/common/tools/sbin/so-index-list index d241d444d..86fb72717 100755 --- a/salt/common/tools/sbin/so-index-list +++ b/salt/common/tools/sbin/so-index-list @@ -15,4 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +{% if grains['role'] in ['so-node','so-heavynode'] %} +curl -X GET -k https://"localhost:9200/_cat/indices?v" +{% else %} curl -X GET "localhost:9200/_cat/indices?v" +{% endif %}