Closed c41m4n closed 5 years ago
There is an option to set it to any :
https://github.com/F5Networks/f5-ansible/blob/devel/library/modules/bigip_virtual_server.py#L325
Only exceptions are where VS is of specific type that does not support it: https://github.com/F5Networks/f5-ansible/blob/devel/library/modules/bigip_virtual_server.py#L2208
Unless you have a reproduction where you try to set the ip protocol or change it on a VS and you get an error, this is working as intended.
ISSUE TYPE
COMPONENT NAME
bigip_virtual_server
ANSIBLE VERSION
PYTHON VERSION
BIGIP VERSION
LIBRARY VERSIONS
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
Prior to Ansible 2.6, the bigip_virtual_server module lacked an 'ip_protocol' parameter, the behavior in this case was that the protocol was set to 'any'. This is desired and expected behavior in my environment. In 2.6, the introduction of ip_protocol changed this behavior and doesn't seem to allow for setting the protocol to 'all' or 'any'.
STEPS TO REPRODUCE
EXPECTED RESULTS
Prior to Ansible 2.6 the created virtual server had protocol 'any'. This is no longer the default in 2.7 (I haven't tested in 2.6). There is no 'all' or 'any' option to emulate the old behavior.
ACTUAL RESULTS