While Tower installation, ansible looks for all dependencies and if that doesn't find then it will trigger yum to download the required packages, hence in that case servers should have red hat repository configured .
Hope this will help you. On Thu, 22 Aug 2019, 5:30 am Vivek Vijayan, <[email protected]> wrote: > Tried. But really stuck on this issue.. is there any workaround for this > issue ( we need to do the offline installation) > > On Mon, 19 Aug 2019, 23:06 Jonathan Lozada De La Matta, < > [email protected]> wrote: > >> Vivek, >> >> Reach out to Red Hat support for more help in this. >> >> On Mon, Aug 19, 2019 at 1:27 PM Vivek Vijayan <[email protected]> >> wrote: >> >>> Hi Experts, >>> >>> I am trying to install Ansible tower 3.2.0 version in my Redhat machine >>> 7.2 and getting following error. I already installed ansible version 2.8 . >>> But tower installation is getting failed. >>> >>> failed: [localhost] (item=[u'python-psycopg2', u'python-setuptools', u >>> 'libselinux-python', u'setools-libs', u'yum-utils', u'sudo', u'acl']) => >>> {"ansible_loop_var": "item", "changed": false, "item": [ >>> "python-psycopg2", "python-setuptools", "libselinux-python", >>> "setools-libs", "yum-utils", "sudo", "acl"], "msg": "The Python 2 >>> bindings for rpm are needed for this module. If you require Python 3 >>> support use the `dnf` Ansible module instead.. The Python 2 yum module is >>> needed for this module. If you require Python 3 support use the `dnf` >>> Ansible module instead."} >>> >>> >>> PLAY RECAP >>> ************************************************************************************************************************************************** >>> localhost : ok=28 changed=3 unreachable=0 >>> failed=1 skipped=113 rescued=0 ignored=2 >>> >>> >>> [error] Oops! An error occured while running setup. >>> [warn] /var/log/tower does not exist. >>> Setup log saved to setup.log. >>> >>> Also tried to explicity put the pyuthon2.7 entry in /etc/ansible/hosts >>> file. but still it fails. >>> >>> please advise me here. ( In my server no internet connectivity and doing >>> through offline package) >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Ansible Project" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/ansible-project/15acec08-2701-4836-b41e-8b46e0a25a8c%40googlegroups.com >>> <https://groups.google.com/d/msgid/ansible-project/15acec08-2701-4836-b41e-8b46e0a25a8c%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> >> >> -- >> >> Jonathan Cha'gara Lozada De La Matta >> >> He / Him / His >> >> Red Hat <https://www.redhat.com> >> >> Senior Automation Practice Consultant & Automation CoP Manager >> >> Join the Automation CoP! https://red.ht/autocop >> @redhatjobs <https://twitter.com/redhatjobs> redhatjobs >> <https://www.facebook.com/redhatjobs> @redhatjobs >> <https://instagram.com/redhatjobs> >> <https://www.redhat.com> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ansible Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BJEwMQ6D6m__bbDZhX7GLB1Y3GLJ-vgHz_XmaU--tbw2w%40mail.gmail.com >> <https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BJEwMQ6D6m__bbDZhX7GLB1Y3GLJ-vgHz_XmaU--tbw2w%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CAJztPtQnGxLV79EgPTkL6z4p24rgbrrrdkW228QuU_-jxZok1g%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CAJztPtQnGxLV79EgPTkL6z4p24rgbrrrdkW228QuU_-jxZok1g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CADG%3Dkou-Ff%3D1w_jTeNsZq5NriHLJW9a%2Bk2945xFB1%3DHUrRTs4w%40mail.gmail.com.
