Skip to content

Commit

Permalink
Update Debian.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Jan 4, 2024
1 parent 03705d1 commit 3d89e06
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions vars/Debian.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
---

# PostgreSQL variables
postgresql_cluster_name: "\
{% if cloud_provider | default('') | length > 0 %}\
{{ patroni_cluster_name }}\
{% else %}\
main\
{% endif %}"

# When deploying to cloud providers, we create a disk and mount the data directory
# along the path defined in the 'pg_data_mount_path' variable (or use '/pgdata' by default).
# You can specify custom data dir path. Example: "/pgdata/{{ postgresql_version }}/{{ postgresql_cluster_name }}"
postgresql_cluster_name: "main"
# You can specify custom data dir path. Example: "/pgdata/{{ postgresql_version }}/main"
postgresql_data_dir: "\
{% if cloud_provider | default('') | length > 0 %}\
{{ pg_data_mount_path | default('/pgdata') }}/{{ postgresql_version }}/{{ postgresql_cluster_name }}\
{% else %}\
/var/lib/postgresql/{{ postgresql_version }}/{{ postgresql_cluster_name }}\
{% endif %}"
# Note: When deploying to cloud providers, we create a disk and mount the data directory,
# along the path defined in the 'pg_data_mount_path' variable (or use '/pgdata' by default).

# You can specify custom WAL dir path. Example: "/pgwal/{{ postgresql_version }}/pg_wal"
postgresql_wal_dir: "" # if defined, symlink will be created [optional]
Expand Down

0 comments on commit 3d89e06

Please sign in to comment.