Forum Discussion
e0013192
Aug 24, 2022Altostratus
Bigip_device_info for ltm-policies doesn't have an action of forward
I'm trying to figure out how to get a list of the pools we are forwarding to in our policies. I don't see the action in the bigip_device_info for forward. I've tried to use the REST API with the An...
- Aug 31, 2022
There you go!
So you can use the bigip command module in our ansible to pass the tmsh parameters in and grep for those 2 pools.
AubreyKingF5
Aug 25, 2022Moderator
Can you show me a tmsh show and list of the policy object?
- e0013192Aug 25, 2022Altostratus
ltm policy test.local_policy { controls { forwarding } draft-copy Drafts/test.local_policy last-modified 2022-06-21:11:06:48 requires { http } rules { test.local-010 { actions { 0 { forward select pool A-443_pool } } conditions { 0 { http-uri path starts-with values { /test010 } } } } test.local-020 { actions { 0 { forward select pool B-443_pool } } conditions { 0 { http-uri path starts-with values { /test020 } } } } }
- AubreyKingF5Aug 31, 2022Moderator
There you go!
So you can use the bigip command module in our ansible to pass the tmsh parameters in and grep for those 2 pools.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects