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.

14 lines
392 B

---
- name: Create the Demo Client
uri:
url: https://{{ sso_route_name }}/auth/admin/realms/{{ sso_realm }}/clients
validate_certs: no
headers:
Authorization: 'Bearer {{ access_token }}'
method: POST
body: "{{ sso_demo_client }}"
body_format: json
status_code: "201,409"
register: response
changed_when: response.status == 201