port -> login_port.
This commit is contained in:
parent
b9218eabc5
commit
d45d544a13
|
|
@ -6,7 +6,7 @@
|
|||
user: "{{ item.user }}"
|
||||
password: "{{ item.pwd }}"
|
||||
role_attr_flags: "{{ item.roles }}"
|
||||
port: "{{ psql_db_port }}"
|
||||
login_port: "{{ psql_db_port }}"
|
||||
state: "{{ item.userstate | default('present') }}"
|
||||
no_log: true
|
||||
loop: '{{ psql_db_data | default([]) }}'
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
become_user: postgres
|
||||
community.postgresql.postgresql_db:
|
||||
db: "{{ item.name }}"
|
||||
port: "{{ psql_db_port }}"
|
||||
login_port: "{{ psql_db_port }}"
|
||||
encoding: "{{ item.encoding }}"
|
||||
owner: "{{ item.user }}"
|
||||
template: template0
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
# type: database
|
||||
objs: "{{ item.objs | default('ALL_IN_SCHEMA') }}"
|
||||
roles: '{{ item.roles }}'
|
||||
port: '{{ psql_db_port }}'
|
||||
login_port: '{{ psql_db_port }}'
|
||||
state: "{{ item.userstate | default('present') }}"
|
||||
grant_option: "{{ item.grant_option | default('yes') }}"
|
||||
with_items: '{{ psql_db_privs | default([]) }}'
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
community.postgresql.postgresql_ext:
|
||||
name: "{{ item.1 | default(omit) }}"
|
||||
db: "{{ item.0.name }}"
|
||||
port: "{{ psql_db_port }}"
|
||||
login_port: "{{ psql_db_port }}"
|
||||
with_subelements:
|
||||
- '{{ psql_db_extensions | default([]) }}'
|
||||
- extensions
|
||||
|
|
@ -61,7 +61,7 @@
|
|||
community.postgresql.postgresql_user:
|
||||
user: "{{ item.user }}"
|
||||
password: "{{ item.pwd }}"
|
||||
port: "{{ psql_db_port }}"
|
||||
login_port: "{{ psql_db_port }}"
|
||||
no_log: true
|
||||
loop: '{{ psql_db_data | default([]) }}'
|
||||
when:
|
||||
|
|
|
|||
Loading…
Reference in New Issue