diff options
author | Paul B <paul+gh@bonaud.fr> | 2019-01-29 15:45:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-29 15:45:25 +0100 |
commit | 0c83dd00b4110d55b1602ca8d732a8cb414cfd0a (patch) | |
tree | 5191176c7f7226def631feb0f6cdc2a12045f0e4 /README.md | |
parent | 2bedf1bbf762903d955e4a76f674799a6acb2258 (diff) | |
parent | 7b241a44e602d70c97e9b9e5af4b600ff7eb3651 (diff) | |
download | ansible-postgresql-role-1.4.0.tar.gz ansible-postgresql-role-1.4.0.tar.zst ansible-postgresql-role-1.4.0.zip |
Merge pull request #6 from paulRbr/pg-extensions1.4.0
feat(extensions): adds creation of extension on databases if needed
Diffstat (limited to 'README.md')
-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 ' |