How to enable ansible feature on a Capsule Server?

Solution Verified - Updated -

Environment

  • Red Hat Satellite Server 6
  • Red Hat Capsule Server 6

Issue

  • Ansible feature is not enabled on External Capsule server.
  • Unable to specify the External Capsule server to run ansible jobs.

Resolution

  1. Run the following commands on the external Red Hat Capsule server.

    # satellite-installer --scenario capsule --enable-foreman-proxy-plugin-ansible 
    # satellite-maintain service restart
    

    If it's Red Hat Capsule 6.13, Then additionally run the following commands:

    # satellite-installer --foreman-proxy-plugin-ansible-callback=redhat.satellite.foreman
    # systemctl restart foreman-proxy
    

    NOTE: Without this extra step, users are expected to run into Bugzilla 2245081.

  2. Refresh the features of the external capsule on the WebUI of the Red Hat Satellite server.

    • Login to the Satellite WebUI.
    • Go to Infrastructure --> Capsules.
    • Select the Capsule server profile.
    • Under the Select Action tab, click on Refresh.

Root Cause

  • Only the Internal Capsule on the Satellite server has ansible enabled by default, it has to be manually enabled on any External Capsules.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments