I am trying to create a postgres user/role with community.postgresql.postgresql_user.
The instance I am trying to address runs on port 5436 so my TASK looks like
This is correct, you supplied the port parameter at the task level itself, while you should provide it to the task.
Indent one level more.