|
|
@ -11,7 +11,7 @@
|
|
|
|
register: result_server_path_postgres_dump_stat
|
|
|
|
register: result_server_path_postgres_dump_stat
|
|
|
|
|
|
|
|
|
|
|
|
- name: Fail if provided Postgres dump file doesn't exists
|
|
|
|
- name: Fail if provided Postgres dump file doesn't exists
|
|
|
|
fail: msg="File cannot be found on the local machine at {{ server_path_postgres_dump }}"
|
|
|
|
fail: msg="File cannot be found on the server at {{ server_path_postgres_dump }}"
|
|
|
|
when: not result_server_path_postgres_dump_stat.stat.exists
|
|
|
|
when: not result_server_path_postgres_dump_stat.stat.exists
|
|
|
|
|
|
|
|
|
|
|
|
- include: tasks/util/detect_existing_postgres_version.yml
|
|
|
|
- include: tasks/util/detect_existing_postgres_version.yml
|
|
|
|