Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed 'include' to 'import_tasks' and 'include_tasks' #178

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 7 additions & 7 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -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