Index: sysutils/ansible/Makefile =================================================================== --- sysutils/ansible/Makefile +++ sysutils/ansible/Makefile @@ -3,7 +3,7 @@ PORTNAME= ansible PORTVERSION?= 2.2.2.0 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= sysutils python MASTER_SITES= http://releases.ansible.com/ansible/ @@ -19,13 +19,8 @@ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2 NO_ARCH= yes -USES?= cpe python shebangfix +USES?= cpe python USE_PYTHON= autoplist distutils -python_CMD= ${LOCALBASE}/bin/python -SHEBANG_FILES+= lib/ansible/modules/core/*/*.py \ - lib/ansible/modules/core/*/*/*.py \ - lib/ansible/modules/extras/*/*.py \ - lib/ansible/modules/extras/*/*/*.py CPE_VENDOR= ansibleworks SUB_FILES= pkg-message Index: sysutils/ansible/files/pkg-message.in =================================================================== --- sysutils/ansible/files/pkg-message.in +++ sysutils/ansible/files/pkg-message.in @@ -8,22 +8,15 @@ %%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: +install the lang/python package on remote machines +ans set up a path to the python interpreter. Example: [freebsd] host1 host2 - [centos] - host3 - host4 - - [centos:vars] - ansible_python_interpreter=/usr/bin/python + [freebsd:vars] + ansible_python_interpreter=%%LOCALBASE%%/bin/python Python notes: