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?

On Friday, January 22, 2016 at 12:28:22 PM UTC-5, Matt Martz wrote:
>
> 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.
>
> On Fri, Jan 22, 2016 at 11:20 AM, Jason Gilfoil <[email protected] 
> <javascript:>> wrote:
>
>> Hello Ansible Community,
>>
>> 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.
>> >>> import bigsuds
>> >>> b = bigsuds.BIGIP(
>> ... hostname = 'xx.xx.xx.xx',
>> ... username = 'xxxxx',
>> ... password = 'xxxxx')
>> >>> b.LocalLB.Pool.get_list()
>> ['/Common/swp_http', '/Common/http']
>>
>> Here is the example playbook i'm trying to use:
>>
>> http://pastebin.com/wkqw5K86
>> - hosts: all
>>   tasks:
>>   - name: set node offline
>>     local_action: >
>>       bigip_pool_member
>>       server=192.168.0.1
>>       user=ausername
>>       password=notmypassword
>>       state=present
>>       session_state=disabled
>>       monitor_state=disabled
>>       pool=http
>>       partition=common
>>       host="{{ ansible_default_ipv4['address'] }}"
>>       port=80
>>
>> Any insight/assistance would be greatly appreciated.
>>
>> -Jason
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/19341a55-dbbf-4c14-ab25-75db849a77c6%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/19341a55-dbbf-4c14-ab25-75db849a77c6%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Matt Martz
> @sivel
> sivel.net
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d2e79559-0e32-4786-a28e-c89a03bf7644%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to