# Ansible Tower installation Failed with error

**URL:** <https://forum.ansible.com/t/ansible-tower-installation-failed-with-error/23677>\
**Category:** Ansible Project\
**Tags:** rhel, awx\
**Created:** [February 7, 2017, 10:31pm UTC](https://forum.ansible.com/t/ansible-tower-installation-failed-with-error/23677 "2017-02-07T22:31:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chetansingh23](https://avatars.discourse-cdn.com/v4/letter/c/e9c0ed/32.png) [@chetansingh23](https://forum.ansible.com/u/chetansingh23)\
**Post date:** [February 7, 2017, 10:31pm UTC](https://forum.ansible.com/t/ansible-tower-installation-failed-with-error/23677/1 "2017-02-07T22:31:02Z")

</div>

I am totally new to this ansible project. I tried the ansible tower installation on my RHEL 6.8 version but it failed during ./setup.sh

inventory file

[primary]  
localhost ansible\_connection=local

[secondary]

[database]

[all:vars]  
admin\_password=‘password’  
redis\_password=‘password’

pg\_host=‘’  
pg\_port=‘’

pg\_database=‘awx’  
pg\_username=‘awx’  
pg\_password=‘password’

setup.log

fatal: [localhost]: FAILED! =\> {“changed”: true, “failed”: true, “msg”: “Repository epel is listed more than once in the configuration\nReposit  
ory epel-source is listed more than once in the configuration\nError: Package: python27-ansible-tower-3.0.3-1.el6.x86\_64 (python27-ansible-tower)\n  
Requires: httpd24\nError: Package: python27-ansible-tower-3.0.3-1.el6.x86\_64 (python27-ansible-tower)\n Requires: libpython2.7.so.  
1.0()(64bit)\nError: Package: python27-ansible-tower-3.0.3-1.el6.x86\_64 (python27-ansible-tower)\n Requires: python27-mod\_wsgi\nError: Pack  
age: python27-ansible-tower-3.0.3-1.el6.x86\_64 (python27-ansible-tower)\n Requires: httpd24-mod\_ssl\nError: Package: python27-ansible-tower  
-3.0.3-1.el6.x86\_64 (python27-ansible-tower)\n Requires: /opt/rh/python27/enable\nError: Package: python27-ansible-tower-3.0.3-1.el6.x86\_64  
(python27-ansible-tower)\n Requires: python27-runtime\nError: Package: python27-ansible-tower-3.0.3-1.el6.x86\_64 (python27-ansible-tower)  
n Requires: python27-python-virtualenv\nError: Package: python27-ansible-tower-3.0.3-1.el6.x86\_64 (python27-ansible-tower)\n Requ  
ires: httpd24-httpd\nError: Package: python27-ansible-tower-3.0.3-1.el6.x86\_64 (python27-ansible-tower)\n Requires: /opt/rh/httpd24/enable  
nError: Package: python27-ansible-tower-3.0.3-1.el6.x86\_64 (python27-ansible-tower)\n Requires: python27\n”, “rc”: 1, “results”: [“Loaded p  
lugins: product-id, search-disabled-repos, security, subscription-\n : manager\nThis system is not registered to Red Hat Subscription Ma  
nagement. You can use subscription-manager to register.\nSetting up Install Process\nResolving Dependencies\n → Running transaction check\n—\> Pack  
age python27-ansible-tower.x86\_64 0:3.0.3-1.el6 will be installed\n → Processing Dependency: redis \>= 2.8 for package: python27-ansible-tower-3.0.3-  
1.el6.x86\_64\n → Processing Dependency: proot \>= v5.1.0-1.9 for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: zerom  
q3 for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: xmlsec1 for package: python27-ansible-tower-3.0.3-1.el6.x86\_64  
n–\> Processing Dependency: subversion for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: python27-runtime for packag  
e: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: python27-python-virtualenv for package: python27-ansible-tower-3.0.3-1.el6.x  
86\_64\n → Processing Dependency: python27-mod\_wsgi for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: python27 for p  
ackage: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: python-virtualenv for package: python27-ansible-tower-3.0.3-1.el6.x86\_6  
4\n → Processing Dependency: policycoreutils-python for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: policycoreuti  
ls-python for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: mercurial for package: python27-ansible-tower-3.0.3-1.el  
6.x86\_64\n → Processing Dependency: httpd24-mod\_ssl for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: httpd24-httpd  
for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: httpd24 for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n-  
 → Processing Dependency: git for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: /opt/rh/python27/enable for package:  
python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: /opt/rh/httpd24/enable for package: python27-ansible-tower-3.0.3-1.el6.x86\_64  
n–\> Processing Dependency: libxmlsec1.so.1()(64bit) for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: libxmlsec1-op  
enssl.so.1()(64bit) for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: libpython2.7.so.1.0()(64bit) for package: pyth  
on27-ansible-tower-3.0.3-1.el6.x86\_64\n → Running transaction check\n—\> Package git.x86\_64 0:1.7.1-4.el6\_7.1 will be installed\n → Processing Dep  
endency: perl-Git = 1.7.1-4.el6\_7.1 for package: git-1.7.1-4.el6\_7.1.x86\_64\n → Processing Dependency: perl(Git) for package: git-1.7.1-4.el6\_7.1.x8  
6\_64\n → Processing Dependency: perl(Error) for package: git-1.7.1-4.el6\_7.1.x86\_64\n—\> Package mercurial.x86\_64 0:1.4-4.el6 will be installed\n–  
 → Package policycoreutils-python.x86\_64 0:2.0.83-29.el6 will be installed\n → Processing Dependency: libsemanage-python \>= 2.0.43-4 for package: po  
licycoreutils-python-2.0.83-29.el6.x86\_64\n → Processing Dependency: audit-libs-python \>= 1.4.2-1 for package: policycoreutils-python-2.0.83-29.el6.  
x86\_64\n—\> Package proot.x86\_64 0:v5.1.0-1.9.el6 will be installed\n—\> Package python-virtualenv.noarch 0:1.10.1-1.el6 will be installed\n → Pro  
cessing Dependency: python2-devel for package: python-virtualenv-1.10.1-1.el6.noarch\n—\> Package python27-ansible-tower.x86\_64 0:3.0.3-1.el6 will b  
e installed\n → Processing Dependency: python27-runtime for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: python27-  
python-virtualenv for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: python27-mod\_wsgi for package: python27-ansible-  
tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: python27 for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: http  
d24-mod\_ssl for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: httpd24-httpd for package: python27-ansible-tower-3.0.  
3-1.el6.x86\_64\n → Processing Dependency: httpd24 for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: /opt/rh/python2  
7/enable for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: /opt/rh/httpd24/enable for package: python27-ansible-towe  
r-3.0.3-1.el6.x86\_64\n → Processing Dependency: libpython2.7.so.1.0()(64bit) for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n—\> Package re  
dis.x86\_64 0:2.8.19-2.el6 will be installed\n → Processing Dependency: libjemalloc.so.1()(64bit) for package: redis-2.8.19-2.el6.x86\_64\n—\> Packag  
e subversion.x86\_64 0:1.6.11-15.el6\_7 will be installed\n → Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-15.el6\_7.x8  
6\_64\n—\> Package xmlsec1.x86\_64 0:1.2.20-4.el6 will be installed\n—\> Package xmlsec1-openssl.x86\_64 0:1.2.20-4.el6 will be installed\n—\> Packag  
e zeromq3.x86\_64 0:3.2.5-1.el6 will be installed\n → Processing Dependency: libpgm-5.1.so.0()(64bit) for package: zeromq3-3.2.5-1.el6.x86\_64\n → Ru  
nning transaction check\n—\> Package audit-libs-python.x86\_64 0:2.4.5-3.el6 will be installed\n—\> Package jemalloc.x86\_64 0:3.6.0-1.el6 will be in  
stalled\n—\> Package libsemanage-python.x86\_64 0:2.0.43-5.1.el6 will be installed\n—\> Package neon.x86\_64 0:0.29.3-3.el6\_4 will be installed\n →   
Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-3.el6\_4.x86\_64\n—\> Package openpgm.x86\_64 0:5.1.118-3.el6 will be install  
ed\n—\> Package perl-Error.noarch 1:0.17015-4.el6 will be installed\n—\> Package perl-Git.noarch 0:1.7.1-4.el6\_7.1 will be installed\n—\> Package  
python-devel.x86\_64 0:2.6.6-64.el6 will be installed\n—\> Package python27-ansible-tower.x86\_64 0:3.0.3-1.el6 will be installed\n → Processing Depe  
ndency: python27-runtime for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: python27-python-virtualenv for package: p  
ython27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: python27-mod\_wsgi for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Pr  
ocessing Dependency: python27 for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: httpd24-mod\_ssl for package: python2  
7-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: httpd24-httpd for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing D  
ependency: httpd24 for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: /opt/rh/python27/enable for package: python27-a  
nsible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: /opt/rh/httpd24/enable for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Proces  
sing Dependency: libpython2.7.so.1.0()(64bit) for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Running transaction check\n—\> Package pak  
chois.x86\_64 0:0.4-3.2.el6 will be installed\n—\> Package python27-ansible-tower.x86\_64 0:3.0.3-1.el6 will be installed\n → Processing Dependency:  
python27-runtime for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: python27-python-virtualenv for package: python27-  
ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: python27-mod\_wsgi for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing  
Dependency: python27 for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: httpd24-mod\_ssl for package: python27-ansibl  
e-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: httpd24-httpd for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependenc  
y: httpd24 for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: /opt/rh/python27/enable for package: python27-ansible-t  
ower-3.0.3-1.el6.x86\_64\n → Processing Dependency: /opt/rh/httpd24/enable for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dep  
endency: libpython2.7.so.1.0()(64bit) for package: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: /opt/rh/httpd24/enable for p  
ackage: python27-ansible-tower-3.0.3-1.el6.x86\_64\n → Processing Dependency: /opt/rh/python27/enable for package: python27-ansible-tower-3.0.3-1.el6  
.x86\_64\n → Finished Dependency Resolution\n You could try using --skip-broken to work around the problem\n You could try running: rpm -Va --nofiles  
–nodigest\n”]}  
to retry, use: --limit @/root/ansible-tower-setup-3.0.3/install.retry

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
localhost : ok=39 changed=0 unreachable=0 failed=1

---

<div class="post-metadata">

**Author:** ![Kean\_Loong\_Mak](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@Kean\_Loong\_Mak](https://forum.ansible.com/u/Kean_Loong_Mak)\
**Post date:** [July 10, 2017, 2:16am UTC](https://forum.ansible.com/t/ansible-tower-installation-failed-with-error/23677/2 "2017-07-10T02:16:40Z")

</div>

Have you managed to solve this? I went through the repositories on /etc/yum.repos.d/, and it turns out Ansible had installed its own repos inside as part of setup - which clashed with the repos already in there. You’ll have to identify which, and rename the affected repos for the time being.

---

<div class="post-metadata">

**Author:** ![Andrew\_Latham](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Andrew\_Latham](https://forum.ansible.com/u/Andrew_Latham)\
**Post date:** [July 14, 2017, 2:54pm UTC](https://forum.ansible.com/t/ansible-tower-installation-failed-with-error/23677/3 "2017-07-14T14:54:38Z")

</div>

For tower questions and support please utilize [https://access.redhat.com/products/ansible-tower-red-hat](https://access.redhat.com/products/ansible-tower-red-hat)

This mailing list is for the open source ansible project.
