From 2660a524c79b7bcb1e35fad1cf38b2c87ba0ecde Mon Sep 17 00:00:00 2001 From: Amrit Singh Date: Wed, 8 Nov 2017 16:19:48 +0530 Subject: [PATCH 1/2] Changed 'include' to 'import_tasks' and 'include_tasks' as 'include' will be deprecated in v2.8 --- tasks/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 77327f71..1869148c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,27 +1,27 @@ --- -- include: check_vars.yml +- import_tasks: check_vars.yml -- include: download.yml +- import_tasks: download.yml tags: - download -- include: dependencies.yml +- import_tasks: dependencies.yml tags: - install -- include: install.yml +- import_tasks: install.yml tags: - install -- include: server.yml +- import_tasks: server.yml when: not redis_sentinel tags: - config -- include: sentinel.yml +- import_tasks: sentinel.yml when: redis_sentinel tags: - config -- include: local_facts.yml +- import_tasks: local_facts.yml when: redis_local_facts|bool From bfe8a058693af182878e37ebe55807876bfaef86 Mon Sep 17 00:00:00 2001 From: Amrit Singh Date: Wed, 8 Nov 2017 17:07:34 +0530 Subject: [PATCH 2/2] Changed ansible minimum version to 2.4 --- meta/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/main.yml b/meta/main.yml index d3884b56..e0b9674e 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -2,7 +2,7 @@ galaxy_info: author: David Wittman description: Highly configurable role to install Redis and Redis Sentinel from source - min_ansible_version: 1.9.0 + min_ansible_version: 2.4 license: MIT platforms: - name: Ubuntu