fix: change memberships variables
This commit is contained in:
parent
0c2cb81ea1
commit
521d372dd8
2 changed files with 8 additions and 9 deletions
tasks
|
@ -87,8 +87,8 @@
|
|||
|
||||
- name: manage role membership
|
||||
community.postgresql.postgresql_membership:
|
||||
groups: '{{ item.key }}'
|
||||
target_roles: '{{ item.value.roles }}'
|
||||
groups: '{{ item.value.groups }}'
|
||||
target_roles: '{{ item.key }}'
|
||||
state: '{{ item.value.state | default("present") }}'
|
||||
loop: '{{ postgresql_role_memberships | dict2items }}'
|
||||
loop_control:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue