Skip to content

Commit

Permalink
Update auto_conf.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Jan 4, 2024
1 parent e32fd63 commit 79ec920
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions roles/pgbackrest/tasks/auto_conf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
stanza:
- { option: "log-level-console", value: "info" }
- { option: "recovery-option", value: "recovery_target_action=promote" }
- { option: "pg1-path", value: "{{ pg_data_mount_path | default('/pgdata') }}/{{ postgresql_version }}/{{ patroni_cluster_name }}" }
- { option: "pg1-path", value: "{{ postgresql_data_dir }}" }
no_log: true # do not output contents to the ansible log
when: cloud_provider | default('') | lower == 'aws'

Expand Down Expand Up @@ -65,7 +65,7 @@
stanza:
- { option: "log-level-console", value: "info" }
- { option: "recovery-option", value: "recovery_target_action=promote" }
- { option: "pg1-path", value: "{{ pg_data_mount_path | default('/pgdata') }}/{{ postgresql_version }}/{{ patroni_cluster_name }}" }
- { option: "pg1-path", value: "{{ postgresql_data_dir }}" }
no_log: true # do not output contents to the ansible log

# if 'gcs_key_file' is not defined, copy GCS key file from GCP_SERVICE_ACCOUNT_CONTENTS environment variable.
Expand Down Expand Up @@ -129,7 +129,7 @@
stanza:
- { option: "log-level-console", value: "info" }
- { option: "recovery-option", value: "recovery_target_action=promote" }
- { option: "pg1-path", value: "{{ pg_data_mount_path | default('/pgdata') }}/{{ postgresql_version }}/{{ patroni_cluster_name }}" }
- { option: "pg1-path", value: "{{ postgresql_data_dir }}" }
no_log: true # do not output contents to the ansible log
when: cloud_provider | default('') | lower == 'azure'

Expand Down Expand Up @@ -165,7 +165,7 @@
stanza:
- { option: "log-level-console", value: "info" }
- { option: "recovery-option", value: "recovery_target_action=promote" }
- { option: "pg1-path", value: "{{ pg_data_mount_path | default('/pgdata') }}/{{ postgresql_version }}/{{ patroni_cluster_name }}" }
- { option: "pg1-path", value: "{{ postgresql_data_dir }}" }
no_log: true # do not output contents to the ansible log
when: cloud_provider | default('') | lower == 'digitalocean'

Expand Down

0 comments on commit 79ec920

Please sign in to comment.