Skip to content

Commit

Permalink
Fix psql login errors
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyphreak committed Mar 11, 2024
1 parent 34ee659 commit 20da301
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions tasks/databases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
lc_ctype: "{{ item.lc_ctype | default('en_US.UTF-8') }}"
encoding: "{{ item.encoding | default('UTF-8') }}"
template: "{{ item.template | default('template0') }}"
login_host: "{{ item.login_host | default('localhost') }}"
port: "{{ item.port | default(omit) }}"
owner: "{{ item.owner | default(postgresql_user) }}"
state: "{{ item.state | default('present') }}"
Expand All @@ -28,7 +27,6 @@
schema: "{{ _role.schema | default(omit) }}"
type: "{{ _role.type | default(omit) }}"
grant_option: "{{ _role.grant_option | default(omit) }}"
login_host: "{{ _database.login_host | default('localhost') }}"
session_role: "{{ _database.session_role | default(omit) }}"
ssl_mode: "{{ _database.ssl_mode | default(omit) }}"
state: "{{ _role.state | default('present') }}"
Expand Down
2 changes: 0 additions & 2 deletions tasks/roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
community.postgresql.postgresql_user:
name: "{{ item.name }}"
password: "{{ item.password | default(omit) }}"
login_host: "{{ item.login_host | default('localhost') }}"
no_password_changes: "{{ item.no_password_changes | default(omit) }}"
expires: "{{ item.expires | default(omit) }}"
role_attr_flags: "{{ item.role_attr_flags | default(omit) }}"
Expand All @@ -19,7 +18,6 @@
- name: Manage PostgreSQL role group memberships
community.postgresql.postgresql_membership:
db: "{{ _role.database | default(postgresql_default_database) }}"
login_host: "{{ _role.login_host | default('localhost') }}"
state: "{{ _group_state | default('present') }}"
group: "{{ _group_name }}"
target_role: "{{ _role.name }}"
Expand Down

0 comments on commit 20da301

Please sign in to comment.