Wondering if anyone familiar with this module could lend a hand. I’m attempting to use the bigip_pool_member module to force a node offline in an F5 LTM pool. However i’m getting the error “the python bigsuds module is required”. I’ve verified that bigsuds is installed on the target F5.
[xxxxx@F5-Test:Active:Standalone] ~ # python
Python 2.4.3 (#1, Apr 22 2015, 16:27:42)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
You are running via a local_action, which means that bigip_pool_member is executing on the ansible control machine, not the F5. As such you will need to install bigsuds on the ansible control machine.
Oh Duh. Thanks for the quick response! That was indeed the problem. I assume this uses port 80 or 443 instead of ssh then from the ansible server to the F5?
[ansible@10 ~]$ python
Python 2.6.6 (r266:84292, Aug 9 2016, 06:11:56)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
This could happen for a number a reasons but most of the time its from
Not using local_action or delegate_to: localhost in the task
Running ansible in a virtualenv and not ensuring that bigsuds is installed in the venv and the python interpreter in the localhost host vars points to the venv python