From 152c33f1926a474ced01a8ce71e199b3e8f49691 Mon Sep 17 00:00:00 2001 From: Stefan Horning Date: Mon, 6 Nov 2023 15:42:55 +0100 Subject: [PATCH] Use FQCN for include_tasks --- tasks/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 2f82ce3..c777cf5 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -182,35 +182,35 @@ notify: Restart Elasticsearch # Install custom JARs -- include_tasks: custom-jars.yml +- ansible.builtin.include_tasks: custom-jars.yml when: elasticsearch_custom_jars is defined # Configure Elasticsearch Node, depending on version -- include_tasks: configure_2x.yml +- ansible.builtin.include_tasks: configure_2x.yml when: elasticsearch_version is version_compare('5.0', '<') -- include_tasks: configure_5x.yml +- ansible.builtin.include_tasks: configure_5x.yml when: - elasticsearch_version is version_compare('5.0', '>=') - elasticsearch_version is version_compare('6.0', '<') -- include_tasks: configure_6x.yml +- ansible.builtin.include_tasks: configure_6x.yml when: elasticsearch_version is version_compare('6.0', '>=') # Install Plugins with ES 2.0 - 2.4 (ES version 5.0 follows 2.4) -- include_tasks: plugins_2x.yml +- ansible.builtin.include_tasks: plugins_2x.yml when: - elasticsearch_version is version_compare('2.0', '>=') - elasticsearch_version is version_compare('5.0', '<') # Install Plugins with ES 5.x -- include_tasks: plugins_5x.yml +- ansible.builtin.include_tasks: plugins_5x.yml when: - elasticsearch_version is version_compare('5.0', '>=') - elasticsearch_version is version_compare('6.0', '<') # Install Plugins with ES 6.x -- include_tasks: plugins_6x.yml +- ansible.builtin.include_tasks: plugins_6x.yml when: - elasticsearch_version is version_compare('6.0', '>=')