ansible / product-demos

GNU General Public License v3.0
198 stars 195 forks source link

Cloud demo fails on non-(product-demos) install (new bundle install) #160

Open taruch opened 4 months ago

taruch commented 4 months ago

Issue: The setup playbook for cloud runs and fails on deploying SUBMIT FEEDBACK due to a lack of a "Default execution environment"

"msg": "Request to /api/v2/execution_environments/?name=Default+execution+environment returned 0 items, expected 1", "invocation": { "module_args": { "name": "SUBMIT FEEDBACK", "execution_environment": "Default execution environment", "job_type": "run", "inventory": "Demo Inventory", "project": "Ansible official demo project", "playbook": "feedback.yml", "survey_enabled": true, "survey_spec": { "name": "", "description": "", "spec": [ { "question_name": "Name/Email/Contact", "type": "text", "variable": "email", "required": true }, { "question_name": "Issue or Feedback", "type": "textarea", "variable": "feedback", "required": true } ] }, "state": "present", "notification_templates_started": [ "Telemetry" ], "notification_templates_success": [ "Telemetry" ], "notification_templates_error": [ "Telemetry" ],

Resolution: Copying the "Automation Hub Default execution environment" and naming it "Default execution environment" resolves the issue.

This could be resolved with an addition to the readme file for product-demos.