Changeset View
Changeset View
Standalone View
Standalone View
sysutils/ansible/files/pkg-message.in
=============================================================================== | =============================================================================== | ||||
To use Ansible, you need at least a host database. | To use Ansible, you need at least a host database. | ||||
If you installed examples, you will have a sample | If you installed examples, you will have a sample | ||||
host database and a sample configuration file: | host database and a sample configuration file: | ||||
%%EXAMPLESDIR%%/hosts | %%EXAMPLESDIR%%/hosts | ||||
%%EXAMPLESDIR%%/ansible.cfg | %%EXAMPLESDIR%%/ansible.cfg | ||||
To use Ansible to control FreeBSD hosts, you need to | To use Ansible to control FreeBSD hosts, you need to | ||||
install the lang/python package on remote machines. | install the lang/python package on remote machines | ||||
and set up a path to the python interpreter. Example: | |||||
matthew: spelling: and | |||||
To use Ansible to control systems other than FreeBSD, | |||||
set the Python interpreter in the host database for | |||||
that system. Example: | |||||
[freebsd] | [freebsd] | ||||
host1 | host1 | ||||
host2 | host2 | ||||
[centos] | [freebsd:vars] | ||||
host3 | ansible_python_interpreter=%%LOCALBASE%%/bin/python | ||||
matUnsubmitted Done Inline ActionsThat is a bad idea, it should be the content of ${PYTHON_CMD} so, LOCALBASE/bin/python2.7 by default, so that the port can get rid of the dependency on lang/python. mat: That is a bad idea, it should be the content of ${PYTHON_CMD} so, LOCALBASE/bin/python2.7 by… | |||||
host4 | |||||
[centos:vars] | |||||
ansible_python_interpreter=/usr/bin/python | |||||
Python notes: | Python notes: | ||||
Python 3.x support is BETA. Most modules should work | Python 3.x support is BETA. Most modules should work | ||||
and important ones have been audited and tested. | and important ones have been audited and tested. | ||||
If you have issues with Python 3, please set | If you have issues with Python 3, please set | ||||
ansible_python_interpreter=%%LOCALBASE%%/bin/python2 | ansible_python_interpreter=%%LOCALBASE%%/bin/python2 | ||||
Ansible 2 requires that lang/python port is built | Ansible 2 requires that lang/python port is built | ||||
with SEM option enabled, which is the default | with SEM option enabled, which is the default | ||||
=============================================================================== | =============================================================================== |
spelling: and