forked from Lainports/freebsd-ports
25 lines
613 B
Text
25 lines
613 B
Text
===============================================================================
|
|
|
|
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 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
|
|
|
|
===============================================================================
|