Skip to content

Commit

Permalink
Replace deprecated "include" with "include_tasks" (#291)
Browse files Browse the repository at this point in the history
The existing code does not work on any semi-recent Ansible versions.

URL: #281
URL: #178
  • Loading branch information
mattock authored Jan 7, 2024
1 parent 4d4f55f commit 51b0dff
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
---
- include: check_vars.yml
- include_tasks: check_vars.yml

- include: download.yml
- include_tasks: download.yml
when: redis_install_from_source
tags:
- download

- include: dependencies.yml
- include_tasks: dependencies.yml
when: redis_install_from_source
tags:
- install

- include: install.yml
- include_tasks: install.yml
when: redis_install_from_source
tags:
- install

- include: install_from_repo.yml
- include_tasks: install_from_repo.yml
when: not redis_install_from_source
tags:
- install

- include: server.yml
- include_tasks: server.yml
when: not redis_sentinel
tags:
- config

- include: sentinel.yml
- include_tasks: sentinel.yml
when: redis_sentinel
tags:
- config

- include: local_facts.yml
- include_tasks: local_facts.yml
when: redis_local_facts|bool

0 comments on commit 51b0dff

Please sign in to comment.