How do I Install Packages Inside the Ansible venv for Ansible Tower?

Solution Verified - Updated -

Issue

In Ansible Tower versions greater than 3.0, there are two virtual environments created as a result of the installation. Occasionally, an Ansible playbook may require packages that don't come bundled automatically, but are needed for the job to run successfully. What's the best way to install a required package in order for Tower to find it during the job run?

Environment

  • Ansible Tower >=3.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In