updated fbsd install instructions (#45309)
This commit is contained in:
parent
bf90a44468
commit
e9c2695ce7
1 changed files with 19 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue