extracting a variable from json output then debug and register the outout with ansible extracting a variable from json output then debug and register the outout with ansible json json

extracting a variable from json output then debug and register the outout with ansible


Don't use debug to assign facts, use set_fact instead:

- name: debug stdout  set_fact:     dataresult: "{{ result.stdout | from_json }}"- name: debug fact  debug:    msg: "{{ dataresult.data[0].start_time_string }}"