diff --git a/tasks/main.yml b/tasks/main.yml index 5efbb7c..7f93a1f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -42,7 +42,9 @@ - include_tasks: steps/smoke_test.yml vars: threescale_cicd_smoke_test_env: staging - when: 'threescale_cicd_openapi_smoketest_operation|length > 0 and threescale_cicd_application_plans is defined' + when: > + threescale_cicd_openapi_smoketest_operation|length > 0 and threescale_cicd_application_plans is defined + and threescale_cicd_apicast_sandbox_endpoint != threescale_cicd_apicast_production_endpoint # Promote to production - import_tasks: steps/promote.yml