mitogen/examples/playbook/issue_113.yml

21 lines
419 B
YAML
Raw Normal View History

---
2018-03-07 14:42:14 +00:00
- hosts: all
gather_facts: false
2018-03-07 14:42:14 +00:00
tasks:
2018-03-07 14:42:14 +00:00
- 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:
2018-03-08 00:49:54 +00:00
that: r_token.status == 200