@@ -3,7 +3,8 @@ PostgreSQL
3
3
4
4
An [ Ansible] [ ansible ] role for installing and managing [ PostgreSQL] [ postgresql ] servers. This role works with both
5
5
Debian and RedHat based systems, and provides backup scripts for [ PostgreSQL Continuous Archiving and Point-in-Time
6
- Recovery] [ postgresql_pitr ] .
6
+ Recovery] [ postgresql_pitr ] . It does not create or manage PostgreSQL users, roles, groups, databases, and so forth. For
7
+ that, see [ galaxyproject.postgresql_objects] [ postgresql_objects ] .
7
8
8
9
On RedHat-based platforms, the [ PostgreSQL Global Development Group (PGDG) packages] [ pgdg_yum ] packages will be
9
10
installed. On Debian-based platforms, you can choose from the distribution's packages (from APT) or the [ PGDG
@@ -12,6 +13,7 @@ packages][pgdg_apt].
12
13
[ ansible ] : http://www.ansible.com/
13
14
[ postgresql ] : http://www.postgresql.org/
14
15
[ postgresql_pitr ] : http://www.postgresql.org/docs/9.4/static/continuous-archiving.html
16
+ [ postgresql_objects ] : https://github.com/galaxyproject/ansible-postgresql-objects/
15
17
[ pgdg_yum ] : http://yum.postgresql.org/
16
18
[ pgdg_apt ] : http://apt.postgresql.org/
17
19
@@ -83,6 +85,10 @@ Role Variables
83
85
84
86
- `postgresql_conf_dir`: As with `postgresql_pgdata` except for the configuration directory.
85
87
88
+ - `postgresql_install_psycopg2`: Attempt to install the correct pacakge providing psycopg2 to the Python interpreter
89
+ that Ansible is using on the remote side. This allows for the use of the `postgresql_*` Ansible modules (perhaps via
90
+ [galaxyproject.postgresql_objects][postgresql_objects]), which depend on psycopg2. Defaults to `true`.
91
+
86
92
### Backups ###
87
93
88
94
- `postgresql_backup_dir`: If set, enables [PITR][postgresql_pitr] backups. Set this to a directory where your database
@@ -173,4 +179,4 @@ License
173
179
Author Information
174
180
------------------
175
181
176
- [Nate Coraor ](https://github.com/natefoo)
182
+ The [Galaxy Community ](https://galaxyproject.org/) and [contributors](https://github.com/galaxyproject/ansible-postgresql/graphs/contributors)
0 commit comments