Forum Discussion

Shmz's avatar
Shmz
Icon for Nimbostratus rankNimbostratus
Jun 03, 2019

bigip_device_facts get default pool based on given vip with ansible

Hi all,

 

im looking for a possibility to obtian pool information by looking up a virtual server based on its name or destination.

 

the following task returns all the information of all the virtual servers. but what if i want to receive information about a specific vip?

Looking up the documentation i dont see any filter options that can be used https://docs.ansible.com/ansible/latest/modules/bigip_device_facts_module.html

 

- name: get vip data

   bigip_device_facts:

    gather_subset: virtual-servers

    provider: "{{ provider }}"

   register: vip_servers

 

 

 

 

No RepliesBe the first to reply