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.
14 lines
438 B
14 lines
438 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.yaml'
|
|
roles:
|
|
# Test first deployment
|
|
- { role: 'nmasse-itix.threescale-cicd', vars: { 'round': 1 } }
|
|
# Verify idempotence
|
|
- { role: 'nmasse-itix.threescale-cicd', vars: { 'round': 2 } }
|
|
post_tasks:
|
|
- import_tasks: 'cleanup.yaml'
|
|
|