F5 BIG-IP modules can fail with Ansible Core 2.15 or later

Solution Unverified - Updated -

Issue

Modules from the F5 BIG-IP collection are failing with errors like the following on Ansible Core 2.15 when transport is set to cli:

  • Unexpected failure during module execution: [Errno -2] Name or service not known
  • Unexpected failure during module execution: ssh connection failed: ssh connect failed: Failed to resolve hostname inventory_hostname (Name or service not known)

Environment

  • Ansible Core 2.15.x (Ansible Automation Platform 2.4) or later
  • F5 BIG-IP Imperative Collection for Ansible (F5Networks.F5_Modules)
    • when transport is set to cli

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content