github.com/crowdsecurity/crowdsec@v1.6.1/test/ansible/vars/postgres.yml (about)

     1  # vim: set ft=yaml.ansible:
     2  ---
     3  
     4  # The password is insecure since the db is ephemeral and only listen to localhost.
     5  postgresql_users:
     6    - name: postgres
     7      password: postgres
     8  
     9  postgresql_hba_entries:
    10    - type: local
    11      database: all
    12      user: postgres
    13      auth_method: peer
    14  
    15    - type: local
    16      database: all
    17      user: all
    18      auth_method: peer
    19  
    20    - type: host
    21      database: all
    22      user: all
    23      address: "127.0.0.1/32"
    24      auth_method: md5
    25  
    26    - type: host
    27      database: all
    28      user: all
    29      address: "::1/128"
    30      auth_method: md5