# whether there is an analogue set\_facts but keeping the difference between the plays

**URL:** <https://forum.ansible.com/t/whether-there-is-an-analogue-set-facts-but-keeping-the-difference-between-the-plays/19339>\
**Category:** Ansible Project\
**Created:** [September 23, 2015, 12:01pm UTC](https://forum.ansible.com/t/whether-there-is-an-analogue-set-facts-but-keeping-the-difference-between-the-plays/19339 "2015-09-23T12:01:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user72](https://avatars.discourse-cdn.com/v4/letter/u/bbce88/32.png) [@user72](https://forum.ansible.com/u/user72)\
**Post date:** [September 23, 2015, 12:01pm UTC](https://forum.ansible.com/t/whether-there-is-an-analogue-set-facts-but-keeping-the-difference-between-the-plays/19339/1 "2015-09-23T12:01:13Z")

</div>

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

`

---

<div class="post-metadata">

**Author:** ![user72](https://avatars.discourse-cdn.com/v4/letter/u/bbce88/32.png) [@user72](https://forum.ansible.com/u/user72)\
**Post date:** [September 24, 2015, 10:32am UTC](https://forum.ansible.com/t/whether-there-is-an-analogue-set-facts-but-keeping-the-difference-between-the-plays/19339/2 "2015-09-24T10:32:17Z")

</div>

> I solved his problem like this

`
