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 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