diff options
-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 ' |