Replace include: with include_tasks:
The include: method was deprecated with Ansible Core 2.19; replace it with include_tasks.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
- include: enable.yml
|
||||
- include_tasks: enable.yml
|
||||
when: pvc_autobackup.enabled
|
||||
|
||||
- include: disable.yml
|
||||
- include_tasks: disable.yml
|
||||
when: not pvc_autobackup.enabled
|
||||
|
||||
Reference in New Issue
Block a user