execution environment not found a host , but using --ee false works

Posted on

Hi gurus,
i using the navigator-image
registry.redhat.io/ansible-automation-platform-22/ee-supported-rhel8:latest

when i run a simple play:

ansible-navigator run ping.yml -m stdout

  • name: ping
    hosts: 10.0.2.2
    tasks:
    • ping:

i have this error:
TASK [Gathering Facts] *************************************************************************************************
fatal: [10.0.2.2]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: connect to host 10.0.2.2 port 22: Network is unreachable", "unreachable": true}

if i use
ansible-navigator run ping.yml --ee false
it works
what i must set to have the same behevior?

thanks in advance , best regards

Responses