Tower: setup.sh fails trying to find yum on Ubuntu

104 views
Skip to first unread message

Vasily Kirichenko

unread,
Jul 22, 2016, 8:35:39 AM7/22/16
to Ansible Project
Ubuntu 14.04.2

TASK: [preflight | Preflight check - Verify yum is recent enough on OL6] ******
fatal: [localhost] => error while evaluating conditional: ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '6' and (yum_version.stdout is not defined or yum_version.stdout | version_compare('3.2.29.73.0.2', '<'))

FATAL: all hosts have already failed -- aborting

As I understand, it should not be supposed Ubuntu have yum installed at all.

samir patry

unread,
Sep 19, 2016, 1:18:00 PM9/19/16
to Ansible Project
Hi Vasily,
did you find the solution for the below error ? Please let me know beacuse i am also facing the same issue.

Ivan Kirkpatrick

unread,
Oct 28, 2016, 9:40:04 AM10/28/16
to Ansible Project
Same problem here for me.  Even installed yum on a fresh install of Ubuntu 14.04.5 and verified yum version was 3.4.3.

Alexander H. Laughlin

unread,
Oct 28, 2016, 4:20:51 PM10/28/16
to Ansible Project
Ubuntu requires some special attention. The answer isn't to install yum on your poor Ubuntu machine, but instead to make sure the install script is aware that you're installing on Ubuntu instead of RedHat.

Remember Tower was mainly intended to run on RedHat systems, so the Ubuntu support isn't the highest priority. If you keep at it, though, you should be able to get it to install cleanly with no need for yum. 
Reply all
Reply to author
Forward
0 new messages