Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  1 Mar 2014 06:33:40 -0500 (EST)
From:      Nikolai Lifanov <lifanov@mail.lifanov.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/187175: [maintainer] sysutils/ansible adjust pkg-message
Message-ID:  <20140301113340.8C5C91A8D05@mail.lifanov.com>
Resent-Message-ID: <201403011140.s21Be0B0076523@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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