set templates task to run only if es_templates is true

This commit is contained in:
Julien Mailleret 2019-12-11 13:40:15 +01:00
parent d145d188e9
commit 11bf8d2d54
No known key found for this signature in database
GPG key ID: F065093271C8DE71
3 changed files with 3 additions and 3 deletions

View file

@ -103,6 +103,6 @@
#We also do after the native realm to ensure any changes are applied here first and its denf up.
- name: include elasticsearch-template.yml
include: elasticsearch-template.yml
when: es_templates
when: es_templates | bool
tags:
- templates