An Ansible module that enables Continuous Delivery with Red Hat 3scale API Management Platform (3scale AMP)
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.
 
 
 

17 lines
622 B

---
- name: Deploy the Beer Catalog API to a 3scale SaaS instance, with hosted APIcasts
hosts: threescale
gather_facts: no
vars:
threescale_cicd_openapi_file: '{{ playbook_dir }}/api/beer-catalog-api.json'
threescale_cicd_openapi_file_format: 'JSON'
threescale_cicd_api_backend_hostname: echo-api.3scale.net
threescale_cicd_openapi_smoketest_operation: GET_beer
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'