You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed my PR will fix that, it should be method in the template file (with host as the loop_var, and the var should be tested by JFrog defined as:
# Set the hosts that can access the database
# The first allows SSL with password from the same subnet
# The second does not require SSL from localhost
# The third denies all others
postgres_allowed_hosts:
- {
type: "hostssl",
database: "all",
user: "all",
address: "samenet",
method: "password",
}
- {
type: "host",
database: "all",
user: "all",
address: "127.0.0.1/0",
method: "password"
}
- {
type: "hostnossl",
database: "all",
user: "all",
address: "0.0.0.0/0",
method: "reject",
}
There is a mix between method and auth to configure pg_hba.conf. Seems to default to trust always.
postgres/defaults/main.yml
postgres/templates/pg_hba.conf.j2
postgres\README.md
The text was updated successfully, but these errors were encountered: