From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 1 11:40:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E7DBF88B for ; Sat, 1 Mar 2014 11:40:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AA137154A for ; Sat, 1 Mar 2014 11:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s21Be0pF076524 for ; Sat, 1 Mar 2014 11:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s21Be0B0076523; Sat, 1 Mar 2014 11:40:00 GMT (envelope-from gnats) Resent-Date: Sat, 1 Mar 2014 11:40:00 GMT Resent-Message-Id: <201403011140.s21Be0B0076523@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nikolai Lifanov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7AE6E9CB for ; Sat, 1 Mar 2014 11:33:46 +0000 (UTC) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 68E73143B for ; Sat, 1 Mar 2014 11:33:46 +0000 (UTC) Received: by mail.lifanov.com (Postfix, from userid 1001) id 8C5C91A8D05; Sat, 1 Mar 2014 06:33:40 -0500 (EST) Message-Id: <20140301113340.8C5C91A8D05@mail.lifanov.com> Date: Sat, 1 Mar 2014 06:33:40 -0500 (EST) From: Nikolai Lifanov To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/187175: [maintainer] sysutils/ansible adjust pkg-message X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Nikolai Lifanov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Mar 2014 11:40:01 -0000 >Number: 187175 >Category: ports >Synopsis: [maintainer] sysutils/ansible adjust pkg-message >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Mar 01 11:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Nikolai Lifanov >Release: FreeBSD 10.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD mail.lifanov.com 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: There is some confusion among sysutils/ansible users about shebangs set to the correct Python interpreter for FreeBSD. I believe that this is the right thing to do within the ports framework and the only way this will work if the user elects to set default Python version to 3.x (which is a valid thing to do), but please add a note to pkg-message about setting up Ansible to control other systems. >How-To-Repeat: Apply this patch. >Fix: --- patch.txt begins here --- Index: sysutils/ansible/files/pkg-message.in =================================================================== --- sysutils/ansible/files/pkg-message.in (revision 346614) +++ sysutils/ansible/files/pkg-message.in (working copy) @@ -6,3 +6,17 @@ %%EXAMPLESDIR%%/hosts %%EXAMPLESDIR%%/ansible.cfg +To use Ansible to control systems other than FreeBSD, +set the Python interpreter in the host database for +that system. Example: + + [freebsd] + host1 + host2 + + [centos] + host3 + host4 + + [centos:var] + ansible_python_interpreter=/usr/bin/python --- patch.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted: