parameterized ignore_errors
diff --git a/tasks/main.yml b/tasks/main.yml
index 22079ce..30965df 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -12,6 +12,7 @@
- block:
- name: Postgres replication standby
+ ignore_errors: "{{ ignore_errors | default(true) }}"
shell: '{{ apigee_service }} apigee-postgresql setup-replication-on-standby -f {{ opdk_installation_config_file }}'
register: replication_output
@@ -21,4 +22,5 @@
update_max_wal_settings: "{{ replication_output.stdout | search('number of requested standby connections exceeds max_wal_senders') }}"
- name: Validate postgres replication standby
+ ignore_errors: "{{ ignore_errors | default(true) }}"
shell: '{{ apigee_service }} apigee-postgresql postgres-check-standby'