You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is expected that a task returns 'ok' when there is nothing to do.
With state 'present', 'ucs_service_profile_association' module unexpectedly returns 'changed: true' + 'failed: false', displayed as 'ok' instead of 'changed' by ansible-playbook in several initial condition cases, including the 2 main ones:
Check mode + existing server, not associated, and to be associated to an inexisting target service profile: 'ok' instead of 'changed'.
Check mode + existing server, associated to a service profile different of the inexisting target service profile: 'ok' instead of 'changed'.
Run mode + existing server, associated to a service profile different of the inexisting target service profile: 'ok' instead of 'failed'.
$ uname -a; cat /etc/redhat-release
Linux cnode01 3.10.0-693.21.1.el7.x86_64 #1 SMP Fri Feb 23 18:54:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.4 (Maipo)
STEPS TO REPRODUCE
Execute a playbook with a task invoking 'ucs_service_profile_association' module with 'present' state, with one of the following initial condition:
Check mode + existing server, not associated, and to be associated to an inexisting service profile;
Check mode + existing server, associated to a service profile different of the target service profile specified in the playbook;
Run mode + existing server, associated to a service profile different of the inexisting target service profile.
SUMMARY
It is expected that a task returns 'ok' when there is nothing to do.
With state 'present', 'ucs_service_profile_association' module unexpectedly returns 'changed: true' + 'failed: false', displayed as 'ok' instead of 'changed' by ansible-playbook in several initial condition cases, including the 2 main ones:
ISSUE TYPE
COMPONENT NAME
ucs_service_profile_association
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
$ uname -a; cat /etc/redhat-release
Linux cnode01 3.10.0-693.21.1.el7.x86_64 #1 SMP Fri Feb 23 18:54:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.4 (Maipo)
STEPS TO REPRODUCE
Execute a playbook with a task invoking 'ucs_service_profile_association' module with 'present' state, with one of the following initial condition:
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: