This should be pretty simple. Use the k8s_facts module for this purpose. Have a look at the docs to get more details about this module.
- name: list of all pods from namespace
k8s_facts:
api_key: "{{ k8s_auth_results.k8s_auth.api_key }}"
kind: Pod
register: pod-list