In Ansible, using the uri module to retrieve some JSON, then output one of the fields using debug.
uri
debug
- name: debug debug: msg: