aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul B <paul@bonaud.fr>2019-01-29 15:00:48 +0100
committerPaul B <paul@bonaud.fr>2019-01-29 15:00:48 +0100
commit7b241a44e602d70c97e9b9e5af4b600ff7eb3651 (patch)
tree5191176c7f7226def631feb0f6cdc2a12045f0e4
parent6037b0f8ec62eaad728ee617418968ea324eb44c (diff)
downloadansible-postgresql-role-7b241a44e602d70c97e9b9e5af4b600ff7eb3651.tar.gz
ansible-postgresql-role-7b241a44e602d70c97e9b9e5af4b600ff7eb3651.tar.zst
ansible-postgresql-role-7b241a44e602d70c97e9b9e5af4b600ff7eb3651.zip
doc: update README to document extension creation
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 515535b..06622c8 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,6 @@ To install:
14ansible-galaxy install trainline-eu.ansible_postgresql_role 14ansible-galaxy install trainline-eu.ansible_postgresql_role
15``` 15```
16 16
17
18#### Dependencies 17#### Dependencies
19 18
20No dependencies 19No dependencies
@@ -36,7 +35,6 @@ This table lists the tested version of OS/PostgreSQL couples.
36- :interrobang: - maybe works, not tested 35- :interrobang: - maybe works, not tested
37- :no_entry: - PostgreSQL has reached EOL 36- :no_entry: - PostgreSQL has reached EOL
38 37
39
40#### Variables 38#### Variables
41 39
42```yaml 40```yaml
@@ -60,6 +58,9 @@ postgres_clusters: # Mandatory
60 databases: 58 databases:
61 - dbname: my_database # Mandatory 59 - dbname: my_database # Mandatory
62 owner: john # Mandatory 60 owner: john # Mandatory
61 extensions: # Optional
62 - names: [ 'postgis', 'postgis_topology' ]
63 apt_deps: [ 'postgresql-11-postgis' ]
63 64
64# Postgres config (Optional) 65# Postgres config (Optional)
65postgres_log_line_prefix: '%m [%p] database: %d host: %h user: %u ' 66postgres_log_line_prefix: '%m [%p] database: %d host: %h user: %u '