From a8b784f603e65d379e46917ae913c92c582f4d2e Mon Sep 17 00:00:00 2001 From: martinb Date: Fri, 29 May 2020 16:03:18 +0200 Subject: [PATCH] update example config yml with new features, allowed clients, users, databases --- .../all/pg_auto_failover_test_all_config.yml | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/inventories/pg_auto_failover/group_vars/all/pg_auto_failover_test_all_config.yml b/inventories/pg_auto_failover/group_vars/all/pg_auto_failover_test_all_config.yml index b14dc6f..10260e3 100644 --- a/inventories/pg_auto_failover/group_vars/all/pg_auto_failover_test_all_config.yml +++ b/inventories/pg_auto_failover/group_vars/all/pg_auto_failover_test_all_config.yml @@ -30,6 +30,25 @@ postgresql_packages: - postgresql-contrib - libpq-dev -postgresql_hba_entries_post: +postgresql_hba_entries: - { type: local, database: all, user: postgres, auth_method: peer } # add your entries for your manually created databases here + +postgresql_cluster_allowed_clients: [] + #- name: "descriptive name" + # ip: "ip of allowed client" + +postgresql_users: [] + #- name: "user" + # password: "password" + # encrypted: true + # state: present + # role_attr_flags: "SUPERUSER" + +postgresql_databases: [] + #- name: "dbname" + # lc_collate: 'en_US.UTF-8' + # lc_ctype: 'en_US.UTF-8' + # encoding: 'UTF-8' + # owner: "dbowner" + # state: present