the restore script is not able to capture the error because the file ignores the error

Description

if pgrestore fails to start postgress, the restore script is not able to capture the error because the file (/opt/bahmni-installer/bahmni-playbooks/roles/pgbackrest-restore/tasks/main.yml) ignores the error. It should not ignore errors.

see below code ignore_errors is set true still it ignores errors

  • name: Start PostgreSQL
    systemd:
    name=postgresql-{{ postgres_version }}
    state=started
    ignore_errors: true

Activity

Show:
Ramashish Joshi
July 17, 2020, 6:35 PM

Assignee

mayur tekade

Reporter

mayur tekade

Labels

Units

None

PercentDone

None

DueTime

None

Clients

None

External issue ID

None

UAT Assignee

None

Reviewer

None

Fix versions

Configure