# Create new hosted zone in Ansible using the route53 module

**URL:** <https://forum.ansible.com/t/create-new-hosted-zone-in-ansible-using-the-route53-module/15078>\
**Category:** Ansible Project\
**Created:** [April 23, 2014, 8:33pm UTC](https://forum.ansible.com/t/create-new-hosted-zone-in-ansible-using-the-route53-module/15078 "2014-04-23T20:33:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Trienis](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@Mike\_Trienis](https://forum.ansible.com/u/Mike_Trienis)\
**Post date:** [April 23, 2014, 8:33pm UTC](https://forum.ansible.com/t/create-new-hosted-zone-in-ansible-using-the-route53-module/15078/1 "2014-04-23T20:33:23Z")

</div>

Hi All,

Is it possible to create a new hosted zone through Ansible in the route53 module?

TASK: [ec2-route53 | create A entry] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
failed: [54.186.230.167] =\> {“failed”: true, “item”: “”}  
msg: Zone xxx. does not exist in Route53

I’d like to automate that part as well through ansible, if possible.

Thanks, Mike.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [April 24, 2014, 2:39pm UTC](https://forum.ansible.com/t/create-new-hosted-zone-in-ansible-using-the-route53-module/15078/2 "2014-04-24T14:39:03Z")

</div>

Can you please share the playbook tasks you have in the above?

Thanks!
