Fix managing non-FreeBSD hosts.

PR:		202799
Submitted by:	merlin@merlinsbox.net
Approved by:	maintainer
This commit is contained in:
Alex Dupre 2015-09-04 05:49:51 +00:00
parent b66474c5ea
commit f2f93ca9be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396055
2 changed files with 8 additions and 0 deletions

View file

@ -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 \

View file

@ -7,6 +7,9 @@ host database and a sample configuration file:
%%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
===============================================================================