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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 30 04:46:03 UTC 2015


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

--- Comment #1 from Nikolai Lifanov <lifanov at mail.lifanov.com> ---
I can't seem to reproduce this with the information provided:

Name           : ansible
Version        : 1.9.2


$ ansible -i /tmp/hosts all -m ping
127.0.0.1 | FAILED >> {
    "failed": true, 
    "msg": "/bin/sh: /usr/bin/python: not found\r\nOpenSSH_6.6.1p1, OpenSSL
1.0.1p-freebsd 9 Jul 2015\r\ndebug1: Reading configuration data
/home/lifanov/.ssh/config\r\ndebug1: /home/lifanov/.ssh/config line 1: Applying
options for *\r\ndebug1: Reading configuration data
/etc/ssh/ssh_config\r\ndebug1: auto-mux: Trying existing master\r\ndebug1:
mux_client_request_session: master session id: 2\r\nShared connection to
127.0.0.1 closed.\r\n", 
    "parsed": false
}

c6.test | success >> {
    "changed": false, 
    "ping": "pong"
}


/tmp/hosts:

127.0.0.1 ansible_python_interpreter=/usr/bin/python
[centos]
c6.test

[centos:vars]
ansible_python_interpreter=/usr/bin/python


Can you provide a copy of your hosts file please?

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


More information about the freebsd-ports-bugs mailing list