Change deprecated include to include_tasks

This commit is contained in:
Santeri Kainulainen 2025-11-07 14:00:38 +02:00
parent af05c6470e
commit a9b0d193d6
15 changed files with 32 additions and 32 deletions

View file

@ -2,7 +2,7 @@
#Security configuration
- name: include security/elasticsearch-security.yml
include: security/elasticsearch-security.yml
include_tasks: security/elasticsearch-security.yml
when: not oss_version
#Make sure elasticsearch.keystore has correct Permissions

View file

@ -73,7 +73,7 @@
#-----------------------------FILE BASED REALM----------------------------------------
- include: elasticsearch-security-file.yml
- include_tasks: elasticsearch-security-file.yml
when: (es_users is defined and es_users.file is defined) or (es_roles is defined and es_roles.file is defined)
#-----------------------------ROLE MAPPING ----------------------------------------