Running a role multiple times in one play
Ansible only executes each role once in a play, even if you define it multiple times unless the parameters defined on the role are different for each definition. For example, Ansible only runs the rolefooonce in a play like this:
You have two options to force Ansible to run a role more than once.