ome_template not idempotent #255
Labels
area/ome
ome modules
area/ome-modular
OME-Modular modules
type/feature
A feature. This label is applied to a feature issues.
Milestone
When running the module if the template exists it fails breaking the task sequence that follows. This does not follow the Ansible guidelines for module development. Need to check to see if a template by this name exists and if it does return changed = false. This would apply to the 'create' and 'import' actions.
fatal: [MX7000-C38ZZZZ]: FAILED! => {"changed": false, "error_info": {"error": {"@Message.ExtendedInfo": [{"Message": "Unable to create the template because the template name 001Test already exists.", "MessageArgs": ["001Test"], "MessageId": "CTEM1027", "RelatedProperties": [], "Resolution": "Enter a unique template name and retry the operation.", "Severity": "Warning"}], "code": "Base.1.0.GeneralError", "message": "A general error has occurred. See ExtendedInfo for more information."}}, "msg": "HTTP Error 400: Bad Request"}
The text was updated successfully, but these errors were encountered: