Ansible how to know what return value is provided by a specific module
if you do something like:

- name: Launch instance
  ec2:
  register: data_struct


You can then output all the values returned by doing this below the above code:

- name: print all returned values
  debug:
    msg: "{{ data_struct }}"