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:
Slavi Pantaleev
2019-01-03 15:24:08 +02:00
parent 76506f34e0
commit 99af4543ac
12 changed files with 48 additions and 48 deletions

View File

@ -4,7 +4,7 @@
# Generic tasks, no matter what kind of server we're using (internal/external)
#
- include: tasks/util/detect_existing_postgres_version.yml
- import_tasks: tasks/util/detect_existing_postgres_version.yml
# If we have found an existing version (installed from before), we use its corresponding Docker image.
# If not, we install using the latest Postgres.