Yeah this is from someone who didn't understand ansible_python_interpreter.

It would be best to file a bug with the package and get it reverted as this
will be confusing if you had an Arch machine managing any non-Arch machines.

You'd have to set ansible_python2_interpreter, which isn't something we
want to have to explain :)






On Tue, Mar 4, 2014 at 10:53 AM, Marco Corte <[email protected]> wrote:

> Yes, it is hardcoded in the first line
>
> % head /usr/share/ansible/system/ping
>
> gives
>
> #!/usr/bin/python2
> # -*- coding: utf-8 -*-
>
>
> # (c) 2012, Michael DeHaan <[email protected]>
> #
> # This file is part of Ansible
> #
> # Ansible is free software: you can redistribute it and/or modify
> # it under the terms of the GNU General Public License as published by
> # the Free Software Foundation, either version 3 of the License, or
>
> I will try to understand why it has been packaged this way.
>
> Thanks
>
>
>
> Il giorno martedì 4 marzo 2014 16:35:07 UTC+1, Michael DeHaan ha scritto:
>
>> This looks like you might have ansible_python_interpreterer set to
>> /usr/bin/python2 somewhere else in the system, or else, the maintainer of
>> your package applied a nasty patch that hardcoded /usr/bin/python2 at the
>> top of the file in the source to the ping module.
>>
>> They should not do this because you can set ansible_python_interpreter on
>> a per host basis, and this would mean that Arch installs could only manage
>> Arch, which would be very wrong.
>>
>> Can you look at the source in library/system/ping and tell me what the
>> top (shebang) line is?
>>
>>
>>  --
> 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 post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/e65cf499-972b-4f0b-afcc-41fb0f57e63d%40googlegroups.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAEVJ8QO2K-HEQ%3DVSeoQYnQC-Y2pchoLTi_7eO3FqCGuN-SCTxw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to