From 41f42d6bf68c318be35ca3185d3b6f5acbe37e77 Mon Sep 17 00:00:00 2001 From: pefmeister Date: Tue, 1 Jun 2021 16:43:15 +0200 Subject: [PATCH] Update intro_bsd.rst (#74768) OpenBSD 6.9 is out and the default version of Python is 3.8, with no more 3.7. --- docs/docsite/rst/user_guide/intro_bsd.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docsite/rst/user_guide/intro_bsd.rst b/docs/docsite/rst/user_guide/intro_bsd.rst index e388ea4b3db..11d25508c0a 100644 --- a/docs/docsite/rst/user_guide/intro_bsd.rst +++ b/docs/docsite/rst/user_guide/intro_bsd.rst @@ -26,7 +26,7 @@ Bootstrapping BSD Ansible is agentless by default, however, it requires Python on managed nodes. Only the :ref:`raw ` 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: