This role needs the community.postgresql collection
ansible-galaxy collection install community.postgresql