Files
nfc_glpi/tasks/api/session-end.yaml
2023-07-28 15:11:02 +09:30

14 lines
342 B
YAML

---
- name: End API Session
ansible.builtin.uri:
url: "http://{{ glpi.host }}/apirest.php/killSession"
method: GET
return_content: true
body: ''
status_code: 200
headers:
App-Token: "{{ glpi.app_token }}"
Session-Token: "{{ glpi_session_get.json.session.valid_id }}"
body_format: json
no_log: true