... aaaaand as is usual for me, I dug deeper and realized that there were 
some packages installed in /usr/lib/python2.6/site-packages.  So I ran 
"easy_install pip", then ran "sudo pip uninstall ansible" until it gave me 
an error that nothing was left to uninstall (took about 9 runs to get all 
the various .egg files removed), then did an "rm -rf ansible" in that 
site-packages directory to remove ansible's files from there as well.  That 
cleared the problem right up - which means I was pulling at least some of 
the files from another release (at least __init.py__) - so this would not 
have been a good thing.

Someone clarify if I did this the wrong way, but it appears to be working 
for now...



On Monday, May 12, 2014 3:00:45 PM UTC-5, Ryan Mitchell wrote:
>
> Hi all -
>
> I'm testing out upgrading to a later version of Ansible and how my 
> playbooks would need to be modified prior to actually doing the upgrade. 
>  In order to test this out, I'm doing the following:
>
> * Deleting /usr/bin/ansible* (yes - I had done the install of ansible up 
> until now - due to multiple users on the system)
> * Deleting /usr/share/ansible
> * Go into my local github clone of ansible, rm -rf all contents
> * "git checkout release1.6.1" (random non-devel version test higher than I 
> really need to support Tower, just to see how my playbooks are affected)
> * python setup.py build
> * source hacking/env-setup
>
> My playbooks require modification (coming from 1.3.1 and apparent variable 
> changes that no longer allow the ${var} notation it appears, perhaps more) 
> - but don't want to take that on just yet.  So I start backing down 
> versions to see what version I can run without modifying playbooks.  So I 
> run this:
>
> * "git checkout release1.4.0"
> * python setup.py build
> * source hacking/env-setup
>
> For some strange reason, after completely resetting my environment, 
> "ansible --version" is still returning "ansible 1.6.1".  I'll even do an 
> "rm -rf" on my source directory, do a "git reset --hard" and do a complete 
> rebuild, nothing.  What am I missing here - where is that version number 
> coming from, because I'm concerned I'm not hitting the right thing, or I 
> still have something hanging around that could make stability an issue.
>
> Running a "which ansible" returns the following, so I'm pretty sure I'm 
> pulling the right executable: ~/gitroot/ansible/bin/ansible
>
> Thoughts?
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6c22e784-8b1c-490d-8bbb-bdf6e12f378d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to