[Bug 202739] sysutils/1.9.2-ansible: "ansible_python_interpreter" is ignored

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 29 09:16:21 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202739

            Bug ID: 202739
           Summary: sysutils/1.9.2-ansible: "ansible_python_interpreter"
                    is ignored
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: freebsd.org at neant.ro

When using Ansible 1.9.2 installed from packages (via pkg), setting
"ansible_python_interpreter" in hosts is ignored. When using Ansible 1.9.2
installed using pip, it works.

I'm using a custom hosts file, not /usr/local/etc/ansible/hosts. The hosts file
contains one line:

centos_host ansible_python_interpreter=/usr/bin/python


The remote host is Amazon Linux, which is based on CentOS. When running
'ansible all -m ping', I get:

/bin/sh: /usr/local/bin/python2.7: No such file or directory


Tried setting that in various other places including ansible.cfg, same thing.
Setting other variables on the same line, like "ansible_ssh_user", works.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list