Using Ansible Tower 3.3 to work with older RHEL versions

[root@rhel75_tower ~]# cd /var/lib/awx/venvroot@rhel75_tower venv]# mkdir rhel51
[root@rhel75_tower venv]# sudo virtualenv /var/lib/awx/venv/rhel51
New python executable in /var/lib/awx/venv/rhel51/bin/python
Installing setuptools, pip, wheel…done.
[root@rhel75_tower venv]# sudo /var/lib/awx/venv/rhel51/bin/pip install python-memcached psutil
Collecting python-memcached
Using cached https://files.pythonhosted.org/packages/f5/90/19d3908048f70c120ec66a39e61b92c253e834e6e895cd104ce5e46cbe53/python_memcached-1.59-py2.py3-none-any.whl
Collecting psutil
Requirement already satisfied: six>=1.4.0 in ./rhel51/lib/python2.7/site-packages (from python-memcached)
Installing collected packages: python-memcached, psutil
Successfully installed psutil-5.4.7 python-memcached-1.59
[root@rhel75_tower venv]# sudo /var/lib/awx/venv/rhel51/bin/pip install -U “ansible == 2.3”
Collecting ansible==2.3
Collecting PyYAML (from ansible==2.3)
Collecting jinja2 (from ansible==2.3)
— —
— —
— —
Installing collected packages: PyYAML, MarkupSafe, jinja2, idna, enum34, six, pycparser, cffi, ```asn1crypto, ipaddress, cryptography, pynacl, pyasn1, bcrypt, paramiko, pycrypto, setuptools, ```ansible
Found existing installation: setuptools 28.8.0
Uninstalling setuptools-28.8.0:
Successfully uninstalled setuptools-28.8.0
This Successfully Creates a virtual environment that can then be used to support a RHEL 5 Environment from Tower 3.3

--

--

--

Solution Architect , Author , An introvert by nature extrovert by profession , Always Learning , Always Listening. Hopefully helping

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Armada: A Hybrid Approach to Bare Metal and Cloud Infrastructure — Part 1

Web Scraping with Concurrency in Golang

Top 10 BEST Business Process Management Software: BPM Tools Of 2022 — HKR Trainings

Installing LAMP Stack (Linux Apache, MySQL, phpMyAdmin and PHP) on Linux Mint

To be a Solutions Architect

The 7–1 SCSS Architecture

7–1 SCSS Architecture File Structure

CircleCI, AWS Cognito, Amplify and Github Login

Automate Your Instagram(Selenium)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Fuad Arshad

Fuad Arshad

Solution Architect , Author , An introvert by nature extrovert by profession , Always Learning , Always Listening. Hopefully helping

More from Medium

BATS (Bash Automated Testing System)

Docker Essentials & Security

Lifecycle Management for Docker Containers: Create, Run, Pause, Stop, and Delete

Lifecycle Management for Docker Containers: Create, Run, Pause, Stop, and Delete

Generation and installation of SSL certificates for dependencies