Hello Racke, Thank you for the quick response. My apologies for hijacking the loop, this my first email will make a new Subject line going forward. Coming back to my issue, yes I was successfully clone in my target machine where ansible is installed . But when I target same location with following line in ansible playbook, it’s prompting me password
Best Regards On Tue, Dec 10, 2019 at 04:10 Stefan Hornburg (Racke) <[email protected]> wrote: > On 12/10/19 10:05 AM, Gyalgin Sherpa wrote: > > Hello team, > > It’s asking me user and password while checking code from giit > > git: > > repo; ‘git url’ > > dest : ‘local path’ > > > > But when I clone manually it does not prompt for password, > > > > Best Regards > > > > Hello Gyalgin, > > it is really so hard to start a fresh email instead of hijacking the > subject and providing more than next to nothing > information about your problem? > > Did you try to clone the Git repo manually on the target system as the > same user as Ansible? > > Regards > Racke > > > On Tue, Dec 10, 2019 at 03:15 Stefan Hornburg (Racke) <[email protected] > <mailto:[email protected]>> wrote: > > > > On 12/9/19 10:30 PM, Mark Bolden wrote: > > > I am on Centos 7 and I was trying to install Pyrax and seeing > these errors: > > > > > > ERROR: os-service-types 1.7.0 has requirement pbr!=2.1.0,>=2.0.0, > but you'll have pbr 1.10.0 which is incompatible. > > > ERROR: python-keystoneclient 3.22.0 has requirement > pbr!=2.1.0,>=2.0.0, but you'll have pbr 1.10.0 which is > > incompatible. > > > ERROR: python-keystoneclient 3.22.0 has requirement > requests>=2.14.2, but you'll have requests 2.6.0 which is > > incompatible. > > > ERROR: oslo-config 6.12.0 has requirement requests>=2.18.0, but > you'll have requests 2.6.0 which is incompatible. > > > ERROR: stevedore 1.31.0 has requirement pbr!=2.1.0,>=2.0.0, but > you'll have pbr 1.10.0 which is incompatible. > > > > > > > > > So, I Installed Python 3.6 and ran pip3 install pyrax and success! > The problem seems to be that ansible-playbook is > > > still looking at Python 2.7 which does NOT have the pyrax module > installed because I am seeing this: > > > > > > TASK [Database build request] > > > > > > > **************************************************************************************************************************** > > > fatal: [devdb -> localhost]: FAILED! => {"changed": false, "msg": > "pyrax is required for this module"} > > > > > > How can I tell Ansible to NOT use Python 2.7 and only use 3.6 and > its modules? > > > > Set the following variable to the path of your Python binary: > > > > ansible_python_interpreter: /usr/bin/python3 > > > > Regards > > Racke > > > > > > > > Anyone? Thanks in advance!! > > > -M > > > > > > -- > > > 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] <mailto: > ansible-project%[email protected]> > > <mailto:[email protected] <mailto: > ansible-project%[email protected]>>. > > > To view this discussion on the web visit > > > > https://groups.google.com/d/msgid/ansible-project/6b5c8efe-0e1c-4728-9217-2894220268a4%40googlegroups.com > > > > > < > https://groups.google.com/d/msgid/ansible-project/6b5c8efe-0e1c-4728-9217-2894220268a4%40googlegroups.com?utm_medium=email&utm_source=footer > >. > > > > > > -- > > Ecommerce and Linux consulting + Perl and web application > programming. > > Debian and Sympa administration. Provisioning with Ansible. > > > > -- > > 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] <mailto: > ansible-project%[email protected]>. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/ansible-project/49a16888-ce7d-7945-d253-ac62d1643bd9%40linuxia.de > . > > > > -- > > 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] <mailto: > [email protected]>. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/ansible-project/CABynDMHLje1D1AbBNk1zz5ZpGLU%3DCX268f3gLp%2Bb6706QHJ%3DSA%40mail.gmail.com > > < > https://groups.google.com/d/msgid/ansible-project/CABynDMHLje1D1AbBNk1zz5ZpGLU%3DCX268f3gLp%2Bb6706QHJ%3DSA%40mail.gmail.com?utm_medium=email&utm_source=footer > >. > > > -- > Ecommerce and Linux consulting + Perl and web application programming. > Debian and Sympa administration. Provisioning with Ansible. > > -- > 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/479feb36-586f-6f35-3bae-eafd93859e99%40linuxia.de > . > -- 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/CABynDMGDR3z-uNzYMJRnHVv4-6_UFupDk3wB7AE6O5c0oMQ%3DnA%40mail.gmail.com.
