]> git.immae.eu Git - github/fretlink/ansible-postgresql-role.git/commitdiff
doc: update README to document extension creation
authorPaul B <paul@bonaud.fr>
Tue, 29 Jan 2019 14:00:48 +0000 (15:00 +0100)
committerPaul B <paul@bonaud.fr>
Tue, 29 Jan 2019 14:00:48 +0000 (15:00 +0100)
README.md

index 515535b87f139b7c56dfad5554f2f59f7c91e0be..06622c82d811011dbbbea14cde2579d6244d1d68 100644 (file)
--- a/README.md
+++ b/README.md
@@ -14,7 +14,6 @@ To install:
 ansible-galaxy install trainline-eu.ansible_postgresql_role
 ```
 
-
 #### Dependencies
 
 No dependencies
@@ -36,7 +35,6 @@ This table lists the tested version of OS/PostgreSQL couples.
 - :interrobang: - maybe works, not tested
 - :no_entry: - PostgreSQL has reached EOL
 
-
 #### Variables
 
 ```yaml
@@ -60,6 +58,9 @@ postgres_clusters:                         # Mandatory
     databases:
       - dbname: my_database                    # Mandatory
         owner: john                            # Mandatory
+        extensions:                            # Optional
+          - names: [ 'postgis', 'postgis_topology' ]
+            apt_deps: [ 'postgresql-11-postgis' ]
 
 # Postgres config (Optional)
 postgres_log_line_prefix: '%m [%p] database: %d host: %h user: %u '