--- - name: Create roundcube db role become_user: postgres become: true community.postgresql.postgresql_user: name: "{{ roundcube_pg_role }}" password: "{{ roundcube_pg_password }}" - name: Create roundcube db become_user: postgres become: true community.postgresql.postgresql_db: name: "{{ roundcube_pg_database }}" owner: "{{ roundcube_pg_role }}"