Why can't I access the localhost when i use a EE

Hi

Working through the early doco on ansible

https://docs.ansible.com/ansible/latest/getting_started_ee/run_execution_environment.html

basically using the community min build EE

gather facts and displaying them about all of the hosts.

I can get local host - which is the pod and I can get remote hosts, but I can’t get the localhost

in my hosts file I have the local host by name - which corrosponds to the 127.0.1.1 address from /etc/hosts - this might be the issue !

I can get into the pod with (I’m new to pods as well)

podman run -ti --name a --hostname aaa --network host ghcr.io/ansible-community/community-ee-base:latest /bin/bash

when i try ssh - it comes up with hostname warning - strangely when i run

ansible-navigator run test_remote.yml -i hosts --execution-environment-image http://ghcr.io/ansible-community/community-ee-minimal:latest --mode stdout --pull-policy missing

I don’t get the ssh warning i presume thats anisible doing something to ignore warning.

this is test_remote

- name: Gather and print local facts
  hosts: all, !deblaptop1
  become: true
  gather_facts: true
  vars:
    ansible_python_interpreter: auto_silent
  tasks:

   - name: Print facts
     ansible.builtin.debug:
      var: ansible_facts

I explicitly remove deblaptop1 the host

how can I debug this ?