You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extended and adapted to install PostgreSQL 10 for CentOS and Ubuntu (ANXS#267)
* Extended and adapted to install PostgreSQL 10 for CentOS and Ubuntu
Tested with ansible 2.4.1 for Ubuntu 16.04 and CentOS-7.4
- replaced deprecated 'include:' by 'include_tasks:' for ansible 2.4.1
- added config and config template for postgresql 10
- adapted defaults.yml
- adapted templates/etc_systemd_system_postgresql.service.d_custom.conf.j2
for PostgreSQL 10 the template outputs the wrong line:
ExecStartPre=/usr/pgsql-10/bin/postgresql10-check-db-dir
the correct one must include an additional '-':
ExecStartPre=/usr/pgsql-10/bin/postgresql-10-check-db-dir
* Removed tabs from defaults/main.yml.
* Adapted .travis.yml and yml files to run tests successfully for all given ansible versions.
- added a test for ansible 2.4.2.0/posgresql 10.
- replaced newer 'include_task' by 'include' again so that the role can be used with older
ansible versions. NOTE: 'include' is deprecated and will be removed in ansible 2.8.
- commeted out docker based tests because they do not run successfully and I do not know
docker ;-)
* Bug fix. Removed remains for my local teste in test/playbook.yml.
* Bug fix and refinement for postgresql.conf-10.* .
- added max_parallel_workers to postgresql.conf-10.j2 (forgotten/deleted in previous version)
- hard coded value for wal_retrieve_retry_interval in postgresql.conf-10.j2 replaced by ansible variable
Changes to be committed:
modified: Vagrantfile
modified: defaults/main.yml
modified: templates/postgresql.conf-10.j2
modified: vagrant-inventory
* Added suggestions from gclough.
Changes to be committed:
modified: Vagrantfile
modified: defaults/main.yml
modified: templates/HOWTO.postgresql.conf
modified: templates/etc_systemd_system_postgresql.service.d_custom.conf.j2
modified: tests/playbook.yml
modified: tests/vars.yml
modified: vagrant-inventory
* Replaced vagrant setup by project's master branch.
* Updated tests/docker/group_vars/all.yml to include version 10.
* Uncommented 'no_log: true' in users.yml.
* Uncommented user baz in tests/docker/group_vars/postgresql.yml.
* Recreated user baz but without passwd. We need him as database owner :-).
* Added encrypted passwd for user baz.
* Commented need for encrypted password if version >= 10.
* Reenabled no_log: true for task PostgreSQL | Make sure the PostgreSQL users are present
Fixed text in templates/HOWTO.posgresql.conf
* Just to trigger a new build on github. Added blank in README.md.
* Second try to trigger a rebuild. Blank in README.md deleted.
0 commit comments