|
@@ -171,6 +171,7 @@
|
|
|
url: "https://{{ rhsso_ep }}/auth/realms/master/protocol/openid-connect/token"
|
|
|
headers:
|
|
|
Accept: application/json
|
|
|
+ body_format: json
|
|
|
body: "client_id=admin-cli&username=admin&password={{ rhsso_pass | string | b64decode }}&grant_type=password"
|
|
|
register: rhsso_token_rsp
|
|
|
|
|
@@ -208,6 +209,7 @@
|
|
|
Authorization: Bearer {{ rhsso_token }}
|
|
|
Accept: application/json
|
|
|
Content-Type: application/json
|
|
|
+ body_format: json
|
|
|
body: '{"name": "{{ item | string }}"}'
|
|
|
status_code:
|
|
|
- 200
|