fix hashing
This commit is contained in:
parent
ec058ff004
commit
f802a13f79
@ -31,7 +31,7 @@
|
|||||||
- name: Ensure PostgreSQL users are present
|
- name: Ensure PostgreSQL users are present
|
||||||
postgresql_user:
|
postgresql_user:
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
password: "{{ (item.password + item.name) | hash('md5') }}"
|
password: "{{ item.password + item.name | hash('md5') }}"
|
||||||
encrypted: "{{ item.encrypted | default('yes') }}"
|
encrypted: "{{ item.encrypted | default('yes') }}"
|
||||||
priv: "{{ item.priv | default(omit) }}"
|
priv: "{{ item.priv | default(omit) }}"
|
||||||
role_attr_flags: "{{ item.role_attr_flags | default(omit) }}"
|
role_attr_flags: "{{ item.role_attr_flags | default(omit) }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user