Update intro_bsd.rst (#74768)
OpenBSD 6.9 is out and the default version of Python is 3.8, with no more 3.7.
This commit is contained in:
parent
81c770e44a
commit
41f42d6bf6
1 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@ Bootstrapping BSD
|
|||
|
||||
Ansible is agentless by default, however, it requires Python on managed nodes. Only the :ref:`raw <raw_module>` module will operate without Python. Although this module can be used to bootstrap Ansible and install Python on BSD variants (see below), it is very limited and the use of Python is required to make full use of Ansible's features.
|
||||
|
||||
The following example installs Python 2.7 which includes the json library required for full functionality of Ansible.
|
||||
The following example installs Python which includes the json library required for full functionality of Ansible.
|
||||
On your control machine you can execute the following for most versions of FreeBSD:
|
||||
|
||||
.. code-block:: bash
|
||||
|
@ -37,7 +37,7 @@ Or for OpenBSD:
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
ansible -m raw -a "pkg_add python%3.7"
|
||||
ansible -m raw -a "pkg_add python%3.8"
|
||||
|
||||
Once this is done you can now use other Ansible modules apart from the ``raw`` module.
|
||||
|
||||
|
@ -56,7 +56,7 @@ To support a variety of Unix-like operating systems and distributions, Ansible c
|
|||
[freebsd:vars]
|
||||
ansible_python_interpreter=/usr/local/bin/python2.7
|
||||
[openbsd:vars]
|
||||
ansible_python_interpreter=/usr/local/bin/python3.7
|
||||
ansible_python_interpreter=/usr/local/bin/python3.8
|
||||
|
||||
If you use additional plugins beyond those bundled with Ansible, you can set similar variables for ``bash``, ``perl`` or ``ruby``, depending on how the plugin is written. For example:
|
||||
|
||||
|
|
Loading…
Reference in a new issue