From e9c2695ce745cf42d1c69166d838ad17555d8b99 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 11 Sep 2018 16:55:21 -0400 Subject: [PATCH] updated fbsd install instructions (#45309) --- .../installation_guide/intro_installation.rst | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/docs/docsite/rst/installation_guide/intro_installation.rst b/docs/docsite/rst/installation_guide/intro_installation.rst index 2d50f27e16f..9bdb01e4913 100644 --- a/docs/docsite/rst/installation_guide/intro_installation.rst +++ b/docs/docsite/rst/installation_guide/intro_installation.rst @@ -204,9 +204,19 @@ To install the newest version, you may need to unmask the ansible package prior Latest Releases via pkg (FreeBSD) +++++++++++++++++++++++++++++++++ +Though Ansible works with both Python 2 and 3 versions, FreeBSD has different packages for each Python version. +So to install you can use: + .. code-block:: bash - $ sudo pkg install ansible + $ sudo pkg install py27-ansible + +or: + +.. code-block:: bash + + $ sudo pkg install py36-ansible + You may also wish to install from ports, run: @@ -214,6 +224,14 @@ You may also wish to install from ports, run: $ sudo make -C /usr/ports/sysutils/ansible install +You can also choose a specific version, i.e ``ansible25``. + +Older versions of FreeBSD worked with something like this (substitute for your choice of package manager): + +.. code-block:: bash + + $ sudo pkg install ansible + .. _on_macos: Latest Releases on macOS