updated fbsd install instructions (#45309)

This commit is contained in:
Brian Coca 2018-09-11 16:55:21 -04:00 committed by Alicia Cozine
parent bf90a44468
commit e9c2695ce7

View file

@ -204,9 +204,19 @@ To install the newest version, you may need to unmask the ansible package prior
Latest Releases via pkg (FreeBSD) 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 .. 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: 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 $ 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: .. _on_macos:
Latest Releases on macOS Latest Releases on macOS