You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
392 B
YAML
18 lines
392 B
YAML
- hosts: all
|
|
tasks:
|
|
|
|
- name: Get auth token
|
|
uri:
|
|
url: "https://httpbin.org/post"
|
|
method: POST
|
|
body: "client_id=admin-cli&username=admin&\
|
|
password=keycloak_admin_password&grant_type=password"
|
|
return_content: true
|
|
validate_certs: false
|
|
register: r_token
|
|
no_log: false
|
|
run_once: true
|
|
|
|
- assert:
|
|
that: r_token.status == 200
|