Commit Graph

56 Commits

Author SHA1 Message Date
jens 0ef359f2fb Update 'tasks/main.yml' 2021-08-27 12:41:44 +00:00
jens 71941564fd Update 'tasks/setup-RedHat.yml' 2021-08-27 12:41:05 +00:00
jens 761402607a Update 'tasks/setup-RedHat.yml' 2021-08-27 12:40:16 +00:00
jens 607dd1b227 Update 'tasks/main.yml' 2021-08-27 12:39:33 +00:00
jens 970e81a95b Update 'tasks/main.yml' 2021-08-27 12:38:17 +00:00
jens 652bfc5a25 Update 'tasks/initialize.yml' 2021-08-27 12:36:45 +00:00
jens 5bd53df489 Update 'tasks/configure.yml' 2021-08-27 12:36:03 +00:00
Jens Timmerman a297c0401d
only add new databases if they are not yet present
fixes #147
2020-09-11 00:23:53 +02:00
Jeff Geerling 180fac8048 Fix rule 208 lint issues. 2020-08-21 09:37:57 -05:00
Jeff Geerling 558c6b6d14 Fixes #110: no_log setting cannot be overridden. 2020-03-20 10:42:52 -05:00
Jeff Geerling 2c3ab60a9b PR #109 follow-up follow-up: Fix a parens. 2020-03-04 12:31:00 -06:00
Jeff Geerling aff541892a PR #109 follow-up: Set postgresql_unix_socket_directories_mode var in variables.yml. 2020-03-04 12:12:11 -06:00
Stefan Jakobs 4569217a84 allow vars files to ship a default unix socket dir mode 2020-03-04 17:45:10 +01:00
Stefan Jakobs 1842b7d65e add postgresql_unix_socket_directories_mode option to change the mode to the unix socket directories (which causes idempotence problemes on RedHat-7) 2020-03-04 17:45:10 +01:00
Jeff Geerling 7be6a15ccc
Merge pull request #31 from daniel-wind/patch-1
create users before database
2019-09-17 15:09:00 -05:00
Jeff Geerling 804441081e
Merge pull request #92 from ATIX-AG/fix_empty_list_test
Fix test for empty list
2019-09-17 13:33:20 -05:00
Jeff Geerling 531b23f8ec
Merge pull request #86 from mikedep333/fedora-30
Add support for Fedora 30
2019-09-17 13:31:59 -05:00
Matthias Dellweg 6dff9930cf
Fix test for empty list
I turns out that the bool filter casts a non-empty list to false. The
proper test seems to compare its length with zero.
2019-09-02 13:53:55 +02:00
Mike DePaulo 2fbc87cd1f Fix CI on Fedora 30 containers again
By not causing the /usr/bin/python symlink to be installed
Otherwise, Ansible molecule converge would use python2, which
lacks python2-dnf.
2019-08-07 12:18:59 -04:00
Mike DePaulo a7b553a9ca Remove support for EOL Fedora 27 & 28
Also properly list support for Fedora 30, and improve
formatting in a when condition.

This addresses comments in PR86:
https://github.com/geerlingguy/ansible-role-postgresql/pull/86
2019-08-06 13:42:48 -04:00
Jeff Geerling a8b2eb0b64 PR #81-follow-up: Fix formatting. 2019-08-05 15:26:44 -05:00
Eric D. Helms 3c83001df6 Add Fedora support 2019-08-02 09:57:24 -04:00
Peter Keresztes Schmidt 70fca97349
Resolve ansible deprecation warning 2019-07-07 02:29:19 +02:00
Daniel Wind 5fb9d8ee27
Merge branch 'master' into patch-1 2019-01-28 20:46:24 +01:00
Jeff Geerling 1f9fc75743 Fixes #32: Template dir prefix is superfluous. 2018-11-21 20:49:17 -06:00
Jeff Geerling 0a164cf407 Fixes #23: Postgresql daemon not set correctly on Debian 8/9. 2018-11-21 20:47:48 -06:00
Jeff Geerling 515f8ea8e1 Resolve deprecation warning on Debian. 2018-10-23 16:31:32 -05:00
Jeff Geerling 7b9a3837ac Fix enablerepo empty string behavior to work around Ansible 2.7.0 bug. 2018-10-08 15:23:30 -05:00
Jeff Geerling bf0fe8d531 Switch tests to use Molecule. 2018-09-30 20:23:32 -05:00
Jeff Geerling e27b25644c
Merge pull request #33 from open-craft/uman/encrypted-pass
Add item to user for encrypted password.
2018-05-10 16:01:10 -05:00
Jeff Geerling 5cb7832ced Fixes #30: Fix deprecated use of include, bump minimum Ansible version to 2.4. 2018-04-24 15:35:39 -05:00
Jeff Geerling c990c8ae35 Fix deprecation warnings in Ansible 2.5 for state 'present'. 2018-04-04 14:03:04 -05:00
Uman Shahzad f7e8cb6bb1 Add item to user for encrypted password. 2018-01-02 18:01:27 +05:00
Daniel Wind 929fe7ed3c
create users before database
So that the owner option can be used on de database playbook
2017-11-02 16:00:24 +01:00
Jeff Geerling e2d91420e2 Fixes #9: Make PostgreSQL Python library configurable so Python 3 can work. 2017-06-30 23:12:44 -05:00
Jeff Geerling 2b9105084c Issue #1403: Don't override defaults on old CentOS 6 install. 2017-06-02 16:57:37 -05:00
Jeff Geerling 45f9fbfc0b Fixes #16: Keep the original order of the databases and users generation. 2017-06-02 11:39:46 -05:00
Jeff Geerling 8b94191ee8 Merge pull request #4 from robyoung/add-pg_hba
Add support for host based authentication
2017-06-01 14:00:18 -05:00
Stephan Waldtmann 8567c4efa1 Added owner to database creation and swapped user and database include in main task. 2017-06-01 13:49:48 +02:00
Jeff Geerling 07756317db Fixes #7: 'postgresql_packages' is undefined with Ansible 2.2. 2016-11-02 12:02:30 -05:00
Rob Young 4f234f16ca Add support for host based authentication
This addresses #3
2016-10-03 15:44:12 +01:00
Jeff Geerling d7954de61a Add db key for users. 2016-09-30 20:39:02 -05:00
Jeff Geerling 55b9e6a84e Issue #2: Fix final broken test on Ubuntu 14.04. 2016-09-29 23:39:30 -05:00
Jeff Geerling 0ee096de52 Fixes #2: Fix test on Debian and CentOS 6. 2016-09-29 23:11:03 -05:00
Jeff Geerling 3cb4aaaa53 Issue #2: More large fixes for later PostgreSQL versions. 2016-09-29 22:58:27 -05:00
Jeff Geerling dbd07263e0 Issue #2: Another batch of fixes, mostly for CentOS 6. 2016-09-29 22:37:00 -05:00
Jeff Geerling 6859807bb9 Issue #2: Generate missing locales on Debian/Ubuntu. 2016-09-29 22:05:15 -05:00
Jeff Geerling 21ce5557ce So many fixes for Ubuntu and Debian. 2016-09-29 20:01:39 -05:00
Jeff Geerling 1d6f7a9e11 More comprehensive database setup, and fix versions for Debian/Ubuntu. 2016-09-29 15:06:34 -05:00
Jeff Geerling ccbd320aac Fix broken variable include files. 2016-09-29 14:49:33 -05:00