First installation of Tower fails in ./setup.sh

After downloading Ansible Tower, I get the install error below. I’m following these pages for the install of Ansible and Tower
http://docs.ansible.com/intro_installation.html#running-from-source

http://releases.ansible.com/ansible-tower/docs/tower_user_guide-latest.pdf

[larry.fast@pm2-ops-int-van ansible-tower-setup-1.4.9]$ ./setup.sh
Traceback (most recent call last):
File “/home/larry.fast/ansible_system/ansible/bin/ansible-playbook”, line 25, in
import ansible.playbook
ImportError: No module named ansible.playbook

NOTES:
CentOS6
Ansible itself is configured:

  • installed from github
  • source ./hacking/env-setup
  • ansible all -m ping works as shown below

[larry.fast@pm2-ops-int-van ansible-tower-setup-1.4.9]$ cd …
[larry.fast@pm2-ops-int-van ansible_system]$ ansible all -m ping -i host_inventory
cass2-msg| success >> {
“changed”: false,
“ping”: “pong”
}

Resolved: switched from the github ansible to the RPM.

You need to install the releate plugins about the ansible tower :python-setuptools
The problems will be solved.

在 2014年4月28日星期一UTC+8上午3时25分20秒,Larry Fast写道:

Hi all,

For any tower questions please ask support@ansible.com rather than this list.

This list is just for the core project.

Thanks!

–Michael