ansible / ansible.builtin / v2.5.6 / module / bigip_gtm_facts Collect facts from F5 BIG-IP GTM devices | "added in version" 2.3 of ansible.builtin" Authors: Tim Rupp (@caphrim007) preview | supported by communityansible.builtin.bigip_gtm_facts (v2.5.6) — module
pip
Install with pip install ansible==2.5.6
Collect facts from F5 BIG-IP GTM devices.
- name: Get pool facts bigip_gtm_facts: server: lb.mydomain.com user: admin password: secret include: pool filter: my_pool delegate_to: localhost
filter: description: - Perform regex filter of response. Filtering is done on the name of the resource. Valid filters are anything that can be provided to Python's C(re) module. include: choices: - pool - wide_ip - server description: - Fact category to collect. required: true provider: description: - A dict object containing connection details. suboptions: auth_provider: description: - Configures the auth provider for to obtain authentication tokens from the remote device. - This option is really used when working with BIG-IQ devices. type: str no_f5_teem: default: false description: - If C(yes), TEEM telemetry data is not sent to F5. - You may omit this option by setting the environment variable C(F5_TELEMETRY_OFF). - Previously used variable C(F5_TEEM) is deprecated as its name was confusing. type: bool password: aliases: - pass - pwd description: - The password for the user account used to connect to the BIG-IP or the BIG-IQ. - You may omit this option by setting the environment variable C(F5_PASSWORD). required: true type: str server: description: - The BIG-IP host or the BIG-IQ host. - You may omit this option by setting the environment variable C(F5_SERVER). required: true type: str server_port: default: 443 description: - The BIG-IP server port. - You may omit this option by setting the environment variable C(F5_SERVER_PORT). type: int timeout: description: - Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands. If the timeout is exceeded before the operation is completed, the module will error. type: int transport: choices: - rest default: rest description: - Configures the transport connection to use when connecting to the remote device. type: str user: description: - The username to connect to the BIG-IP or the BIG-IQ. This user must have administrative privileges on the device. - You may omit this option by setting the environment variable C(F5_USER). required: true type: str validate_certs: default: true description: - If C(no), SSL certificates are not validated. Use this only on personally controlled sites using self-signed certificates. - You may omit this option by setting the environment variable C(F5_VALIDATE_CERTS). type: bool type: dict version_added: 1.0.0 version_added_collection: f5networks.f5_modules
pool: description: Contains the pool object status and enabled status. returned: changed sample: pool: - alternate_mode: round-robin availability_state: offline dynamic_ratio: disabled enabled: true enabled_state: disabled fallback_mode: return-to-dns full_path: /Common/d3qw load_balancing_mode: round-robin manual_resume: disabled max_answers_returned: 1 members: - disabled: true flags: a full_path: ok3.com member_order: 0 name: ok3.com order: 10 preference: 10 ratio: 1 service: 80 name: d3qw partition: Common qos_hit_ratio: 5 qos_hops: 0 qos_kilobytes_second: 3 qos_lcs: 30 qos_packet_rate: 1 qos_rtt: 50 qos_topology: 0 qos_vs_capacity: 0 qos_vs_score: 0 ttl: 30 type: naptr verify_member_availability: disabled type: list server: description: Contains the virtual server enabled and availability status, and address. returned: changed sample: server: - addresses: - device_name: /Common/qweqwe name: 10.10.10.10 translation: none datacenter: /Common/xfxgh enabled: true expose_route_domains: false full_path: /Common/qweqwe iq_allow_path: true iq_allow_service_check: true iq_allow_snmp: true limit_cpu_usage: 0 limit_cpu_usage_status: disabled limit_max_bps: 0 limit_max_bps_status: disabled limit_max_connections: 0 limit_max_connections_status: disabled limit_max_pps: 0 limit_max_pps_status: disabled limit_mem_avail: 0 limit_mem_avail_status: disabled link_discovery: disabled monitor: /Common/bigip name: qweqwe partition: Common product: single-bigip virtual_server_discovery: disabled virtual_servers: - destination: 10.10.10.10:0 enabled: true full_path: jsdfhsd limit_max_bps: 0 limit_max_bps_status: disabled limit_max_connections: 0 limit_max_connections_status: disabled limit_max_pps: 0 limit_max_pps_status: disabled name: jsdfhsd translation_address: none translation_port: 0 type: list wide_ip: description: Contains the lb method for the wide ip and the pools that are within the wide ip. returned: changed sample: wide_ip: - enabled: true failure_rcode: noerror failure_rcode_response: disabled failure_rcode_ttl: 0 full_path: /Common/foo.ok.com last_resort_pool: '' minimal_response: enabled name: foo.ok.com partition: Common persist_cidr_ipv4: 32 persist_cidr_ipv6: 128 persistence: disabled pool_lb_mode: round-robin pools: - name: d3qw order: 0 partition: Common ratio: 1 ttl_persistence: 3600 type: naptr type: list