vendor/ANXS.postgresql/tasks/users_privileges.yml in taperole-1.6.0 vs vendor/ANXS.postgresql/tasks/users_privileges.yml in taperole-1.7.0
- old
+ new
@@ -8,9 +8,9 @@
priv: "{{item.priv | default(omit)}}"
state: present
login_host: "{{item.host | default(omit)}}"
login_user: "{{postgresql_admin_user}}"
role_attr_flags: "{{item.role_attr_flags | default(omit)}}"
- sudo: yes
- sudo_user: "{{postgresql_admin_user}}"
- with_items: postgresql_user_privileges
+ become: yes
+ become_user: "{{postgresql_admin_user}}"
+ with_items: "{{postgresql_user_privileges}}"
when: postgresql_users|length > 0