You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
568 B
19 lines
568 B
---
|
|
|
|
- name: Deploy the Echo API to a 3scale SaaS instance, with hosted APIcasts
|
|
hosts: threescale
|
|
gather_facts: no
|
|
vars:
|
|
threescale_cicd_openapi_file: '{{ playbook_dir }}/api/echo-api-with-basePath.yaml'
|
|
threescale_cicd_api_base_system_name: echo_api_with_basepath
|
|
tasks:
|
|
# Test a first deployment
|
|
- import_role:
|
|
name: 'nmasse-itix.threescale-cicd'
|
|
# Verify idempotence
|
|
- import_role:
|
|
name: 'nmasse-itix.threescale-cicd'
|
|
# Delete the service
|
|
- import_role:
|
|
name: 'nmasse-itix.threescale-cicd'
|
|
tasks_from: 'cleanup'
|
|
|