Skip to content

Commit

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

URL: DavidWittman#281
URL: DavidWittman#178
  • Loading branch information
mattock committed Nov 21, 2023
1 parent 4d4f55f commit ce14d7a
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 ce14d7a

Please sign in to comment.