Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Aug 2015 09:16:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 202739] sysutils/1.9.2-ansible: "ansible_python_interpreter" is ignored
Message-ID:  <bug-202739-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: freebsd.org@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202739-13>