Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PITR: don't try to stop postgres if "pg_ctl status" returned 4 ( dire…
…ctory "/path/to/data" is not a database cluster directory) Fixed: TASK [patroni : Stop PostgreSQL] *********************************************** fatal: [10.129.8.81]: FAILED! => {"changed": true, "cmd": ["/usr/bin/pg_ctlcluster", "14", "mds", "stop", "-m", "fast", "--", "-w", "-t", "600"], "delta": "0:00:00.075440", "end": "2023-02-20 13:02:21.789506", "msg": "non-zero return code", "rc": 2, "start": "2023-02-20 13:02:21.714066", "stderr": "", "stderr_lines": [], "stdout": "Cluster is not running.", "stdout_lines": ["Cluster is not running."]} changed: [10.129.8.80] fatal: [10.129.8.77]: FAILED! => {"changed": true, "cmd": ["/usr/bin/pg_ctlcluster", "14", "mds", "stop", "-m", "fast", "--", "-w", "-t", "600"], "delta": "0:00:00.095513", "end": "2023-02-20 13:02:21.830583", "msg": "non-zero return code", "rc": 2, "start": "2023-02-20 13:02:21.735070", "stderr": "", "stderr_lines": [], "stdout": "Cluster is not running.", "stdout_lines": ["Cluster is not running."]}
- Loading branch information