--- # RHEL/CentOS only. Set a repository to use for PostgreSQL installation. postgresql_enablerepo: "" postgresql_user: postgres postgresql_group: postgres postgresql_unix_socket_dir: /var/run/postgresql postgresql_global_config_options: - option: unix_socket_directory value: '{{ postgresql_unix_socket_dir }}' # Debian only. Used to generate the locales used by PostgreSQL databases. postgresql_locales: - 'en_US.UTF-8' # Databases to ensure exist. postgresql_databases: [] # - name: example # lc_collate: 'en_US.UTF-8' # optional # lc_ctype: 'en_US.UTF-8' # optional # encoding: 'UTF-8' # optional # login_host: example.com # optional, defaults to 'localhost' # login_password: supersecure # optional # login_user: admin # optional, defaults to "{{ postgresql_user }}" # port: 5432 # optional # state: present # optional, defaults to 'present' # Users to ensure exist. postgresql_users: [] # - name: jdoe # password: supersecure # optional # login_host: example.com # optional, defaults to 'localhost' # login_password: supersecure # optional # login_user: admin # optional, defaults to "{{ postgresql_user }}" # port: 1234 # optional, defaults to 5432 # priv: table:priv1,priv2 # optional # role_attr_flags: CREATEDB,NOSUPERUSER # optional # state: present # optional