From owner-svn-ports-all@freebsd.org Fri Sep 4 05:49:52 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 832029CA049; Fri, 4 Sep 2015 05:49:52 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 598F8CBF; Fri, 4 Sep 2015 05:49:52 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t845nqnf070057; Fri, 4 Sep 2015 05:49:52 GMT (envelope-from ale@FreeBSD.org) Received: (from ale@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t845nppD070055; Fri, 4 Sep 2015 05:49:51 GMT (envelope-from ale@FreeBSD.org) Message-Id: <201509040549.t845nppD070055@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ale set sender to ale@FreeBSD.org using -f From: Alex Dupre Date: Fri, 4 Sep 2015 05:49:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396055 - in head/sysutils/ansible: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2015 05:49:52 -0000 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 + ===============================================================================