Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 2015 05:49:51 +0000 (UTC)
From:      Alex Dupre <ale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r396055 - in head/sysutils/ansible: . files
Message-ID:  <201509040549.t845nppD070055@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ale
Date: Fri Sep  4 05:49:51 2015
New Revision: 396055
URL: https://svnweb.freebsd.org/changeset/ports/396055

Log:
  Fix managing non-FreeBSD hosts.
  
  PR:		202799
  Submitted by:	merlin@merlinsbox.net
  Approved by:	maintainer

Modified:
  head/sysutils/ansible/Makefile
  head/sysutils/ansible/files/pkg-message.in

Modified: head/sysutils/ansible/Makefile
==============================================================================
--- head/sysutils/ansible/Makefile	Fri Sep  4 03:37:14 2015	(r396054)
+++ head/sysutils/ansible/Makefile	Fri Sep  4 05:49:51 2015	(r396055)
@@ -3,6 +3,7 @@
 
 PORTNAME=	ansible
 PORTVERSION=	1.9.2
+PORTREVISION=	1
 CATEGORIES=	sysutils python
 MASTER_SITES=	http://releases.ansible.com/ansible/
 
@@ -21,6 +22,7 @@ OPTIONS_DEFINE=	EXAMPLES
 
 USES=		cpe python:2 shebangfix
 USE_PYTHON=	autoplist distutils
+python_CMD=	${LOCALBASE}/bin/python
 SHEBANG_FILES=	lib/ansible/runner/action_plugins/synchronize.py \
 		lib/ansible/modules/core/*/*.py \
 		lib/ansible/modules/core/*/*/*.py \

Modified: head/sysutils/ansible/files/pkg-message.in
==============================================================================
--- head/sysutils/ansible/files/pkg-message.in	Fri Sep  4 03:37:14 2015	(r396054)
+++ head/sysutils/ansible/files/pkg-message.in	Fri Sep  4 05:49:51 2015	(r396055)
@@ -7,6 +7,9 @@ host database and a sample configuration
   %%EXAMPLESDIR%%/hosts
   %%EXAMPLESDIR%%/ansible.cfg
 
+To use Ansible to control FreeBSD hosts, you need to
+install the lang/python package on remote machines.
+
 To use Ansible to control systems other than FreeBSD,
 set the Python interpreter in the host database for
 that system. Example:
@@ -22,4 +25,7 @@ that system. Example:
   [centos:vars]
   ansible_python_interpreter=/usr/bin/python
 
+If you have Python 3.x as the default, please set
+ansible_python_interpreter=%%LOCALBASE%%/bin/python2
+
 ===============================================================================



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