Ansible Automation Platform containerized installation fails with "Failed to connect to bus: No such file or directory" error

Solution Verified - Updated -

Issue

  • Ansible Automation Platform containerized installation fails with the following error:

    TASK [ansible.containerized_installer.common : Enable podman socket] **********************************************************************************************************************
    fatal: [aap.example.com]: FAILED! => {"changed": false, "cmd": "/usr/bin/systemctl --user", "msg": "Failed to connect to bus: No such file or directory", "rc": 1, "stderr": "Failed to connect to bus: No such file or directory\n", "stderr_lines": ["Failed to connect to bus: No such file or directory"], "stdout": "", "stdout_lines": []}
    

Environment

  • Red Hat Ansible Automation Platform 2.4 and above

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