# Use ec2\_remote\_facts in another playbook

**URL:** <https://forum.ansible.com/t/use-ec2-remote-facts-in-another-playbook/20663>\
**Category:** Ansible Project\
**Created:** [February 23, 2016, 7:51pm UTC](https://forum.ansible.com/t/use-ec2-remote-facts-in-another-playbook/20663 "2016-02-23T19:51:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Colin\_Byrne](https://avatars.discourse-cdn.com/v4/letter/c/ecd19e/32.png) [@Colin\_Byrne](https://forum.ansible.com/u/Colin_Byrne)\
**Post date:** [February 23, 2016, 7:51pm UTC](https://forum.ansible.com/t/use-ec2-remote-facts-in-another-playbook/20663/1 "2016-02-23T19:51:36Z")

</div>

So the ec2\_remote\_facts has been great at getting the facts, but because it has to run against localhost, I have to run it as a separate play and can’t use the registered information in a play run against other hosts. How can I transfer that registered variable to the new play/different hosts? The module seems fairly useless if you can’t access that information anywhere other than localhost… But I suspect I have overlooked a way to do this.

`
