Create new hosted zone in Ansible using the route53 module

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.

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

Thanks!