fix: default attributes for user

This commit is contained in:
Adrien Waksberg 2021-11-10 08:37:31 +01:00
parent 7b4e1b63f4
commit d07a5fabb9

View file

@ -60,7 +60,7 @@
password: '{{ item.password }}'
db: '{{ item.database }}'
priv: '{{ item.privileges|join("/") }}'
role_attr_flags: '{{ item.attributes|join(",")|default("") }}'
role_attr_flags: '{{ item.attributes|default([])|join(",") }}'
state: '{{ item.state|default("present") }}'
loop: '{{ postgresql_users }}'
loop_control: