# os\_recordset module not working

**URL:** <https://forum.ansible.com/t/os-recordset-module-not-working/27632>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [May 25, 2018, 5:56pm UTC](https://forum.ansible.com/t/os-recordset-module-not-working/27632 "2018-05-25T17:56:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sriman\_dharba](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sriman\_dharba](https://forum.ansible.com/u/sriman_dharba)\
**Post date:** [May 25, 2018, 5:56pm UTC](https://forum.ansible.com/t/os-recordset-module-not-working/27632/1 "2018-05-25T17:56:44Z")

</div>

Modifying subject line

Hello

I am using ansible 2.3.3.0 on openstack pike

shade==1.28.0  
ansible==2.3.3.0  
python-designateclient==2.7.0  
python-openstackclient==3.12.0

When i am trying to create a A record after instance creation, its throwing the below error.

“msg”: “Error creating recordset test-instance. (400) Client Error for url: [https://os-designate.hq.acme-corp.com:9001/v2/zones/qatest.hq.acme-corp.com./recordsets](https://os-designate.hq.acme-corp.com:9001/v2/zones/qatest.hq.acme-corp.com./recordsets)”}

- name: ‘Creating a private ip’  
os\_recordset:  
cloud: “{{cloud\_name}}”  
state: present  
zone: [qatest.hq.acme-corp.com](http://qatest.hq.acme-corp.com).  
name: “{{[item.name](http://item.name)}}”  
recordset\_type: A  
records: [“{{item[‘private\_v4’]}}”]  
description: ‘test recordset’  
ttl: 3600  
with\_items: “{{openstack\_servers}}”

Thanks  
Sree
