whether there is an analogue set_facts but keeping the difference between the plays

whether there is an analogue set_facts but keeping the difference between the plays

register creates a structure, and I would be quite variable.

for what it is to me.
I have in the performance of the play there is a lot of roles with the same addictions and these are carried out according to several times resulting in no effective implementation of the play.

Using variables I want to make the role of roles executed once for all the play.

example

`

I solved his problem like this

`