X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=README.md;h=e27734a6fa1c069691cb83891b2c57a115a10520;hb=587f87bbf278a80b14a182146724a9ebf1fd98a2;hp=06622c82d811011dbbbea14cde2579d6244d1d68;hpb=0c83dd00b4110d55b1602ca8d732a8cb414cfd0a;p=github%2Ffretlink%2Fansible-postgresql-role.git diff --git a/README.md b/README.md index 06622c8..e27734a 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ See [role page on Ansible Galaxy](https://galaxy.ansible.com/trainline-eu/ansibl #### Installation -This role has been tested on Ansible 2.3.0 and higher. +This role has been tested on Ansible 2.5.0 and higher. To install: @@ -25,10 +25,10 @@ Recommended dependencies: This table lists the tested version of OS/PostgreSQL couples. -| Distribution / PostgreSQL | 9.1 | 9.4 | 9.5 | 9.6 | 10 | 11 | -| ------------------------- |:---:|:---:|:---:|:---:|:---:|:---:| -| Debian 8.x | :no_entry: :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| -| Debian 9.x | :no_entry: :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| +| Distribution / PostgreSQL | 9.1 | 9.4 | 9.5 | 9.6 | 10 | 11 | 12 | +| ------------------------- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | +| Debian 8.x | :no_entry: :white_check_mark: | :no_entry: :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | +| Debian 9.x | :no_entry: :white_check_mark: | :no_entry: :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | - :white_check_mark: - tested, works fine - :grey_question: - will work in the future (help out if you can) @@ -49,6 +49,17 @@ postgres_clusters: # Mandatory checksums: True # Optional fsync_enabled: False # Optional archive_enabled: False # Optional + wal_level: 'logical' # Optional + max_replication_slots: 10 # Optional + barman_directory: None # Optional + # Define cluster as a standby server + primary: # Optional + host: '127.0.1.1' # Mandatory + port: 5433 # Mandatory + replication_user: 'replicator' # Mandatory + replication_password: 'SuperSecret' # Mandatory + restore_command: None # Optional + restore_barman_directory: None # Optional # List of users to be created (optional) users: - username: 'replicator' # Mandatory @@ -75,6 +86,16 @@ postgres_allowed_hosts: postgres_replication_hosts: - user: replicator range: 10.0.0.0/24 + +# Ansible related Configuration +postgres_become_method: su # Optional + +# Barman connectivity +postgres_barman_server: barman.example.com # Required if at least one server has archive_enabled enabled +postgres_barman_rsync_enabled: False # Optional +postgres_barman_rsync_options: '' # Optional +postgres_barman_remote_user: barman # Optional +postgres_barman_path_prefix: '~' # Optional, required if using rsync ``` #### Testing