The include: method was deprecated with Ansible Core 2.19; replace it with include_tasks.
8 lines
129 B
YAML
8 lines
129 B
YAML
---
|
|
|
|
- include_tasks: enable.yml
|
|
when: pvc_autobackup.enabled
|
|
|
|
- include_tasks: disable.yml
|
|
when: not pvc_autobackup.enabled
|