Open gclough opened 6 years ago
agreed. will have to make a change somewhere were each distro can have their default location.
This should get fixed by #288, but will likely need a lot of merging due to the recent changes. I'll see what I can sort out.
If the database crashes, then during crash recovery it looks for pg_ident.conf... and fails:
By default on RedHat/CentOS this should be in $PGDATA, but because of the "Ubuntu" layout this file is expected to be in /etc/postgresql/{{ postgresql_version }}/data:
ident_file = '/etc/postgresql/9.6/data/pg_ident.conf' # ident configuration file
... but it's currently in $PGDATA/pg_ident.conf
Personally I'd prefer to see this playbook configure more of a "RedHat" layout, which means putting everything into $PGDATA, and not scattering things into /etc/postgresql...