svn commit: r396055 - in head/sysutils/ansible: . files
Alex Dupre
ale at FreeBSD.org
Fri Sep 4 05:49:52 UTC 2015
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 at 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
+
===============================================================================
More information about the svn-ports-all
mailing list