bigip_virtual_server - allow to assign irules outside the virtual_server partition #2383
Labels
awaiting-user-action
issue awaiting user's response and/or requested action
enhancement
PRs or Issues for basic feature requests for an existing module.
Is your feature request related to a problem? Please describe.
When specifying irules in the bigip_virtual_server module, the partition assigned to the virtual_server is utilized to locate the corresponding irule.
Describe the solution you'd like
Enable the capability to specify the full path of the irule, similar to how it is done for profiles. If you define the irule name as "/Common/my_irule," the partition specified for the virtual_server should be overridden instead of being prefixed for the irule.
Describe alternatives you've considered
We can include the irule in that particular partition, but since it is a shared irule, this is not an optimal solution.
Additional context
I applied a patch to the local version of the f5-ansible module and successfully resolved the issues. Kindly consider incorporating this into the official release.
https://github.com/F5Networks/f5-ansible/blob/1c9390bb9e1c9cb1f90bb70177ac0fcd28a0cc06/ansible_collections/f5networks/f5_modules/plugins/modules/bigip_virtual_server.py#L2008C16-L2008C16
The text was updated successfully, but these errors were encountered: