Why I received failed to import the required Python library (ansible-tower-cli) using execute `tower_host` module in Ansible Tower?
Issue
You receive the following error message when you try to execute tower_host
module
Failed to import the required Python library (ansible-tower-cli) on <tower.example.com>'s Python /usr/libexec/platform-python. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter
Environment
Ansible Tower
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.