Closed MariandreaMV closed 8 months ago
Attempted to create a pre-existing collection running the init_collection playbook
Handle the error when the collection already exists
I saw the error output but the playbook ran all the tasks and returned code 0, no errors
$ ansible-galaxy collection verify ibm.operator_collection_sdk
ibm.operator_collection_sdk:1.1.1
add error handling in the ansible-galaxy init command when the collection path already exist and stops executing
Bug Report
What did you do?
Attempted to create a pre-existing collection running the init_collection playbook
What did you expect to see?
Handle the error when the collection already exists
What did you see instead? Under which circumstances?
I saw the error output but the playbook ran all the tasks and returned code 0, no errors
Collection Version
$ ansible-galaxy collection verify ibm.operator_collection_sdk
ibm.operator_collection_sdk:1.1.1
Possible Solution
add error handling in the ansible-galaxy init command when the collection path already exist and stops executing