aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ansible/files/pkg-message.in
blob: 695651f3bbef2de27b7d7ee33de9019837617472 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
===============================================================================

To use Ansible, you need at least a host database.
If you installed examples, you will have a sample
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:

  [freebsd]
  host1
  host2

  [centos]
  host3
  host4

  [centos:vars]
  ansible_python_interpreter=/usr/bin/python

Python notes:

If you have Python 3.x as the default, please set
ansible_python_interpreter=%%LOCALBASE%%/bin/python2

Ansible 2 requires that lang/python27 port is built
with SEM option enabled, which is the default

===============================================================================