# error while creaing Big IP pool ussing anisble yaml script

**URL:** <https://forum.ansible.com/t/error-while-creaing-big-ip-pool-ussing-anisble-yaml-script/23078>\
**Category:** Ansible Project\
**Created:** [November 22, 2016, 9:23pm UTC](https://forum.ansible.com/t/error-while-creaing-big-ip-pool-ussing-anisble-yaml-script/23078 "2016-11-22T21:23:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![santu\_chaitu](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@santu\_chaitu](https://forum.ansible.com/u/santu_chaitu)\
**Post date:** [November 22, 2016, 9:23pm UTC](https://forum.ansible.com/t/error-while-creaing-big-ip-pool-ussing-anisble-yaml-script/23078/1 "2016-11-22T21:23:36Z")

</div>

I am trying to create a pool using YAML as below (Note: I tried to executed the script as root user and as non-rrot user) IN both cases i am getting two  
different errors.

inventory file

webl22-p1.gain.tcprod.local ansible\_ssh\_host=10.30.81.30

[webservers]  
webl22-p1.gain.tcprod.local

[datacenter:children]  
webservers

[datacenter:vars]  
ansible\_ssh\_user=schaitanya  
ansible\_ssh\_pass=\*\*\*\*\*\*\*\*\*\*

below is roles/loadbalancer/tasks/main.yaml

---

<div class="post-metadata">

**Author:** ![Tim1](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@Tim1](https://forum.ansible.com/u/Tim1)\
**Post date:** [November 22, 2016, 10:25pm UTC](https://forum.ansible.com/t/error-while-creaing-big-ip-pool-ussing-anisble-yaml-script/23078/2 "2016-11-22T22:25:10Z")

</div>

For the second error, are you connecting to the bigips mgmt port? Or a self IP?

-tim
