My Ansible Playbook to install an OpenShift Lab
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.

16 lines
468 B

---
- name: Get the 3scale Administration Access Token
command: oc get dc system-app -n "{{ threescale_project }}" -o 'jsonpath={.spec.template.spec.containers[0].env[?(@.name=="ADMIN_ACCESS_TOKEN")].value}'
register: oc_get_dc
tags: vars
changed_when: false
- set_fact:
access_token: '{{ oc_get_dc.stdout }}'
tags: vars
- include: 3scale_status.yml
- include: create_api.yml
with_items: '{{ threescale_apis_to_create }}'