Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change allowed_slots param type in bigip_vcmp_guest to match F5 expected type #2395

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

jasonjuenger
Copy link

The allowedSlots parameter in the F5 API is of type list of int. Currently the bigip_vcmp_guest module has this parameter as a list of str. When the module does a compare against the value from the F5 (list of int) and the variable supplied to the module (list of str) it always reports a diff. This results in Ansible reporting a change to the guest even when the configuration being pushed matches what is on the F5. Changing the parameter type in the module to a list of int to match what F5 expects correctly returns 'OK' when the allowed_slots variable matches what is configured on the F5.

This change was successfully tested on Ansible version 2.15.8 and F5 version 15.1.10.2 Build 0.44.2.

Closes #2394

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bigip_vcmp_guest module always reports changed
2 participants