# bigip\_pool module not found

**URL:** <https://forum.ansible.com/t/bigip-pool-module-not-found/23249>\
**Category:** Ansible Project\
**Created:** [December 13, 2016, 1:35pm UTC](https://forum.ansible.com/t/bigip-pool-module-not-found/23249 "2016-12-13T13:35:53Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oguz\_Yarimtepe](https://avatars.discourse-cdn.com/v4/letter/o/d07c76/32.png) [@Oguz\_Yarimtepe](https://forum.ansible.com/u/Oguz_Yarimtepe)\
**Post date:** [December 13, 2016, 1:35pm UTC](https://forum.ansible.com/t/bigip-pool-module-not-found/23249/1 "2016-12-13T13:35:53Z")

</div>

At my virtualenv

Here is my ansible.cfg

`[defaults] host_key_checking = False library =/path/to/ansible-playbooks/venv/lib/python2.7/site-packages/ansible/modules`

And here is my f5-text.txt

`localhost] ansible_connection=local ansible_python_interpreter=/Users/oyarimtepe/git.gittigidiyor/ansible-playbooks/venv/bin/python`

and the playbook.yml is

`

- name: create f5 pool  
hosts: localhost  
connection: local  
roles:
- remove\_node  
`

remove\_node is

`

- name: Remove pool member from pool  
local\_action: \>  
bigip\_pool:  
server: “{{ f5\_server }}”  
server\_port: {{ f5\_server\_port }}  
user: “{{ f5\_username }}”  
password: “{{ f5\_password }}”  
state: “absent”  
name: “{{ f5\_pool }}”  
partition: “{{ f5\_partition }}”  
host: “{{ ansible\_default\_ipv4[“address”] }}”  
port: {{ host\_port }}  
`

and whenever i run the playbook with  
`

ansible-playbook f5-pool/playbook.yml -i f5-test.txt  
`

This is the error i got:

fatal: [ansible\_connection=local]: FAILED! =\> {“failed”: true, “msg”: “The module bigip\_pool:\n was not found in configured module paths. Additionally, core modules are missing. If this is a checkout, run ‘git submodule update --init --recursive’ to correct this problem.”}

Any idea what the problem is?

---

<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:** [December 15, 2016, 12:51am UTC](https://forum.ansible.com/t/bigip-pool-module-not-found/23249/2 "2016-12-15T00:51:29Z")

</div>

Oguz, does your ansible.cfg literally say

library =/path/to/ansible-playbooks/venv/lib/python2.7/site-packages/ansible/modules

Or is that just an example you were providing us? I recon that that path is incorrect, but If you are specifying the ansible\_python\_interpreter then you shouldn’t even need to include a roles path. What happens if you just remove the ansible.cfg file?

-tim

---

<div class="post-metadata">

**Author:** ![Oguz\_Yarimtepe](https://avatars.discourse-cdn.com/v4/letter/o/d07c76/32.png) [@Oguz\_Yarimtepe](https://forum.ansible.com/u/Oguz_Yarimtepe)\
**Post date:** [December 15, 2016, 1:00am UTC](https://forum.ansible.com/t/bigip-pool-module-not-found/23249/3 "2016-12-15T01:00:12Z")

</div>

I removed the ansible.cfg and retried again. Nothing changed.

PLAY [create f5 pool] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

TASK [setup] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
ok: [ansible\_connection=local]

TASK [remove\_node : include\_vars] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
ok: [ansible\_connection=local]

TASK [remove\_node : Remove pool member from pool] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [ansible\_connection=local]: FAILED! =\> {“failed”: true, “msg”: “The module bigip\_pool:\n was not found in configured module paths. Additionally, core modules are missing. If this is a checkout, run ‘git submodule update --init --recursive’ to correct this problem.”}  
to retry, use: --limit @/path/to/ansible-playbooks/f5-pool/playbook.retry

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
ansible\_connection=local : ok=2 changed=0 unreachable=0 failed=1

and here is the inventory

[localhost]  
ansible\_connection=local ansible\_python\_interpreter=/path/to/ansible-playbooks/venv/bin/python

---

<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:** [December 15, 2016, 1:09am UTC](https://forum.ansible.com/t/bigip-pool-module-not-found/23249/4 "2016-12-15T01:09:51Z")

</div>

What is the full path to your venv python interpreter?

---

<div class="post-metadata">

**Author:** ![Oguz\_Yarimtepe](https://avatars.discourse-cdn.com/v4/letter/o/d07c76/32.png) [@Oguz\_Yarimtepe](https://forum.ansible.com/u/Oguz_Yarimtepe)\
**Post date:** [December 15, 2016, 1:11am UTC](https://forum.ansible.com/t/bigip-pool-module-not-found/23249/5 "2016-12-15T01:11:57Z")

</div>

/Users/my\_username/git/ansible-playbooks/venv/bin/python

---

<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:** [December 15, 2016, 1:15am UTC](https://forum.ansible.com/t/bigip-pool-module-not-found/23249/6 "2016-12-15T01:15:44Z")

</div>

with your venv activated, what is the output of ansible --version ?

---

<div class="post-metadata">

**Author:** ![Oguz\_Yarimtepe](https://avatars.discourse-cdn.com/v4/letter/o/d07c76/32.png) [@Oguz\_Yarimtepe](https://forum.ansible.com/u/Oguz_Yarimtepe)\
**Post date:** [December 15, 2016, 1:17am UTC](https://forum.ansible.com/t/bigip-pool-module-not-found/23249/7 "2016-12-15T01:17:20Z")

</div>

(venv) ➜ ansible-playbooks git:(master) ✗ ansible --version  
ansible 2.2.0.0  
config file =  
configured module search path = Default w/o overrides

---

<div class="post-metadata">

**Author:** ![Oguz\_Yarimtepe](https://avatars.discourse-cdn.com/v4/letter/o/d07c76/32.png) [@Oguz\_Yarimtepe](https://forum.ansible.com/u/Oguz_Yarimtepe)\
**Post date:** [December 15, 2016, 5:11pm UTC](https://forum.ansible.com/t/bigip-pool-module-not-found/23249/8 "2016-12-15T17:11:36Z")

</div>

Any more comment?

---

<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:** [December 15, 2016, 7:00pm UTC](https://forum.ansible.com/t/bigip-pool-module-not-found/23249/9 "2016-12-15T19:00:19Z")

</div>

I’m at a loss as to why it’s not working. The error suggests that ansible, in general, is not installed properly; regardless of the bigip\_pool module. Do any other modules work?

---

<div class="post-metadata">

**Author:** ![Oguz\_Yarimtepe](https://avatars.discourse-cdn.com/v4/letter/o/d07c76/32.png) [@Oguz\_Yarimtepe](https://forum.ansible.com/u/Oguz_Yarimtepe)\
**Post date:** [December 15, 2016, 7:19pm UTC](https://forum.ansible.com/t/bigip-pool-module-not-found/23249/10 "2016-12-15T19:19:14Z")

</div>

I am using ansible core modules and they work. Using it at macosx, installed via pip on virtualenv.
