intersight-ansible
intersight-ansible copied to clipboard
Create new object instead of modify
This Pull requests contains 1 small bug fix and 1 change bug fix: intersight.py line #188 Some error do not return anybody, thus resulting in a KeyError instead of a RuntimeError.
change: intersight_rest_api.oy line #149 ff in my opinion 2 tasks with a different "name" in the "api_body" should create 2 objects ( currently objects are overwriten, regardless of the api_body ) I changed the behavior to only overwrite an object if there's already an object existing with the name equals to the name in the "api_body"