Forum Discussion
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
have you tried to use a list of IP's and :
loop or with_itmes : https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_loops.html
Recent Discussions
Related Content
* 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