no_log: no postgresql_databases: - name: serversdk postgresql_users: - name: postgres password: 34rjkciea12 postgresql_group: postgres postgresql_global_config_options: - option: listen_addresses value: '*' postgresql_hba_entries: - { type: local, database: all, user: postgres, auth_method: peer } - { type: local, database: all, user: all, auth_method: peer } - { type: host, database: all, user: all, address: '127.0.0.1/32', auth_method: md5 } - { type: host, database: all, user: all, address: '::1/128', auth_method: md5 } - { type: host, database: all, user: all, address: '0.0.0.0/0', auth_method: md5 } # full access # - { type: host, database: all, user: all, address: '178.209.130.196/32', auth_method: md5 } # access from specific IP only postgresql_restarted_state: "restarted"