Forum Discussion

johnramzf5's avatar
johnramzf5
Icon for Altocumulus rankAltocumulus
Mar 09, 2023

Choose next IP for SNAT Pool - Ansible

when working with this module: f5networks.f5_modules.bigip_snat_pool , I have this requirement:

Create a SNAT Pool with one individual IP from an arbitrary range (192.168.11.1 - 192.168.11.250) for every new Virtual Server. So for "Virtual Server 1" the SNAT pool IP is "192.168.11.1", for "Virtual Server 2" the SNAT pool IP is "192.168.11.2", so on and so forth.

How can I add that logic when working with this module?

Thank you

john