Replace include usage with include_tasks and import_tasks
The long-deprecated (since Ansible 2.4) use of include is no more.
This commit is contained in:
@ -14,7 +14,7 @@
|
||||
fail: msg="File cannot be found on the server at {{ server_path_postgres_dump }}"
|
||||
when: not result_server_path_postgres_dump_stat.stat.exists
|
||||
|
||||
- include: tasks/util/detect_existing_postgres_version.yml
|
||||
- import_tasks: tasks/util/detect_existing_postgres_version.yml
|
||||
|
||||
- name: Abort, if no existing Postgres version detected
|
||||
fail: msg="Could not find existing Postgres installation"
|
||||
|
Reference in New Issue
Block a user