diff options
author | Paul B <paul@bonaud.fr> | 2019-01-29 15:00:48 +0100 |
---|---|---|
committer | Paul B <paul@bonaud.fr> | 2019-01-29 15:00:48 +0100 |
commit | 7b241a44e602d70c97e9b9e5af4b600ff7eb3651 (patch) | |
tree | 5191176c7f7226def631feb0f6cdc2a12045f0e4 | |
parent | 6037b0f8ec62eaad728ee617418968ea324eb44c (diff) | |
download | ansible-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.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -14,7 +14,6 @@ To install: | |||
14 | ansible-galaxy install trainline-eu.ansible_postgresql_role | 14 | ansible-galaxy install trainline-eu.ansible_postgresql_role |
15 | ``` | 15 | ``` |
16 | 16 | ||
17 | |||
18 | #### Dependencies | 17 | #### Dependencies |
19 | 18 | ||
20 | No dependencies | 19 | No 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) |
65 | postgres_log_line_prefix: '%m [%p] database: %d host: %h user: %u ' | 66 | postgres_log_line_prefix: '%m [%p] database: %d host: %h user: %u ' |