mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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)
|
||||
+++++++++++++++++++++++++++++++++
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue