Created attachment 1271392 [details] Screenshot of the bug Description of problem: Unable to create "ansible playbook" catalog item if previously "ansible playbook" catalog item with the same existed and was deleted. Version-Release number of selected component (if applicable): 5.8.0.10-beta1.20170411212748_e47d319 How reproducible: Always Steps to Reproduce: 1. Enable Embedded Ansbile role. 2. Wait until it will be enabled. 3. Navigate to Automation/Ansible. 4. Add some repository and credential. 5. Navigate Services/Catalogs/Catalog Item. 6. Add an "ansible playbook" catalog item. 7. Delete that catalog item. 8. Create a new "ansible catalog item" with the same name. Actual results: "Job template already exist" appeared Expected results: Catalog item should be successfully created.
PR: https://github.com/ManageIQ/manageiq/pull/14830
Verified in 5.9.0.2.20171010190026_0413a06. Ansible playbook catalog item can be created with the same name.