Re: [ansible-project] update of ansible seems to be inconsistent

2016-12-13 Thread Mike Gracy
When you are installing from pip, you are platform independent for the most 
part (except assmblr/C/etc.. compiles). 
When you install via a package manager, it's a package tweaked specifically 
for you platform (install location mostly).

On Monday, December 12, 2016 at 5:16:50 AM UTC-8, Gildas Cotomale wrote:
>
> Le jeudi 8 décembre 2016 09:02:31 UTC+1, Andreas Olsson a écrit :
>>
>> ons 2016-12-07 klockan 23:40 -0800 skrev Sebastian S.: 
>> > which ansible says: /usr/local/bin/ansible 
>>
>> That looks more like somewhere where Pip would install Ansible, or 
>> where someone would install Ansible manually. Any chance that you also 
>> have a /usr/bin/ansible, which better match the apt version? 
>>
>> I don't know how much different Debian and Ubuntu can be there. 
> My Debian installation, done with Pip gives the same answer. 
>
>
>

-- 
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/56915170-865d-4c62-b79d-fbd40e3b94bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] update of ansible seems to be inconsistent

2016-12-12 Thread Gildas Cotomale
Le jeudi 8 décembre 2016 09:02:31 UTC+1, Andreas Olsson a écrit :
>
> ons 2016-12-07 klockan 23:40 -0800 skrev Sebastian S.: 
> > which ansible says: /usr/local/bin/ansible 
>
> That looks more like somewhere where Pip would install Ansible, or 
> where someone would install Ansible manually. Any chance that you also 
> have a /usr/bin/ansible, which better match the apt version? 
>
> I don't know how much different Debian and Ubuntu can be there. 
My Debian installation, done with Pip gives the same answer. 


-- 
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/7b7429cc-4ae6-4e42-8fba-50c3d3a617cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] update of ansible seems to be inconsistent

2016-12-12 Thread Sebastian S.
You were right. There was a ansible pip installation. I uninstalled it and 
ansible --version is now correct. Thank you!! ^^ 

Am Donnerstag, 8. Dezember 2016 13:44:35 UTC+1 schrieb Sebastian S.:
>
> In fact there is one. But when I run this one something goes wrong:
>
> ansible@DE9899S76 /etc/ansible/roles % /usr/bin/ansible  
> Traceback (most recent call last):
>   File "/usr/bin/ansible", line 46, in 
> from ansible.module_utils._text import to_text
> ImportError: No module named _text
>
>
> Am Donnerstag, 8. Dezember 2016 09:02:31 UTC+1 schrieb Andreas Olsson:
>>
>> ons 2016-12-07 klockan 23:40 -0800 skrev Sebastian S.: 
>> > which ansible says: /usr/local/bin/ansible 
>>
>> That looks more like somewhere where Pip would install Ansible, or 
>> where someone would install Ansible manually. Any chance that you also 
>> have a /usr/bin/ansible, which better match the apt version? 
>>
>> // Andreas 
>>
>

-- 
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/81c19ee5-a5a0-44d5-9321-09cd60bf6ca4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] update of ansible seems to be inconsistent

2016-12-08 Thread Sebastian S.
In fact there is one. But when I run this one something goes wrong:

ansible@DE9899S76 /etc/ansible/roles % /usr/bin/ansible  
Traceback (most recent call last):
  File "/usr/bin/ansible", line 46, in 
from ansible.module_utils._text import to_text
ImportError: No module named _text


Am Donnerstag, 8. Dezember 2016 09:02:31 UTC+1 schrieb Andreas Olsson:
>
> ons 2016-12-07 klockan 23:40 -0800 skrev Sebastian S.: 
> > which ansible says: /usr/local/bin/ansible 
>
> That looks more like somewhere where Pip would install Ansible, or 
> where someone would install Ansible manually. Any chance that you also 
> have a /usr/bin/ansible, which better match the apt version? 
>
> // Andreas 
>

-- 
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/0f2afbf2-132f-47c2-a91b-49711fdb2bb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] update of ansible seems to be inconsistent

2016-12-08 Thread Andreas Olsson
ons 2016-12-07 klockan 23:40 -0800 skrev Sebastian S.:
> which ansible says: /usr/local/bin/ansible

That looks more like somewhere where Pip would install Ansible, or
where someone would install Ansible manually. Any chance that you also
have a /usr/bin/ansible, which better match the apt version?

// Andreas

-- 
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/1481184141.2546.2.camel%40arrakis.se.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] update of ansible seems to be inconsistent

2016-12-07 Thread Sebastian S.
Hi,

which ansible says: /usr/local/bin/ansible

I did a apt-get remove for ansible-tower and ansible and reinstalled both 
with the bundled installer, no difference.
Didn't wanted to make a apt-get purge, because I do not want to configure 
everything again, but meanwhile i think about a complete new installation...

Am Mittwoch, 7. Dezember 2016 15:51:23 UTC+1 schrieb Andreas Olsson:
>
> ons 2016-12-07 klockan 03:52 -0800 skrev Sebastian S.: 
> > ansible@DE9899S76 ~ % ansible --version 
> > ansible 2.0.0.2 
> >  
> > 3. apt-cache --showpkg ansible says it' 2.2.0.0 
>
> What does `which ansible` say? 
>
> That is, any chance that you have an additional version of Ansible 
> installed, in addition to what is provided by the package manager? 
>
> // Andreas 
>

-- 
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/08b630eb-5041-4c81-ab8e-c2d277d16266%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] update of ansible seems to be inconsistent

2016-12-07 Thread Andreas Olsson
ons 2016-12-07 klockan 03:52 -0800 skrev Sebastian S.:
> ansible@DE9899S76 ~ % ansible --version
> ansible 2.0.0.2
> 
> 3. apt-cache --showpkg ansible says it' 2.2.0.0

What does `which ansible` say?

That is, any chance that you have an additional version of Ansible
installed, in addition to what is provided by the package manager?

// Andreas

-- 
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/1481122269.2295.3.camel%40arrakis.se.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] update of ansible seems to be inconsistent

2016-12-07 Thread Sebastian S.
Hello folks,

we have a Ubuntu 14.04 box running Ansible and Ansible-Tower on it. The 
packages are updates regularly. The Ansible mirror is also listed in the 
sources.list, so it gets updates too. But there seem to be something wrong. 
I'm thinking this because

1. When I do a ansible --version it shows 2.0.0.2

ansible@DE9899S76 ~ % ansible --version
ansible 2.0.0.2
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides


2. apt-get -u -V upgrade says there are no upgrade pending. The ansible 
package is not locked or pinned in apt.

3. apt-cache --showpkg ansible says it' 2.2.0.0

4. Playbooks with the synchronize module have a problem that has been 
solved in version 2.1, as far as I've read. When you use this module with 
become: yes, sudo is not used on the remote machine but on the ansible 
server.

http://cheat.readthedocs.io/en/latest/ansible/synchronize.html


So it looks to me like some parts have been updated to version 2.2.0.0 and 
others not. Can anybody explain this to me or has any tips for me to get 
this riddle solved? Any help would be appreciated :)


-- 
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/d2e45b08-baa9-4465-839f-d8d477ed820c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.