blob: ef541fdaa1987e1e864319aa904b06616d1717ae (
plain)
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
37
38
|
===============================================================================
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:
Python 3.x support is BETA. Most modules should work
and important ones have been audited and tested.
If you have issues with Python 3, please set
ansible_python_interpreter=%%LOCALBASE%%/bin/python2
Ansible 2 requires that lang/python port is built
with SEM option enabled, which is the default
===============================================================================
|