add details on how to get API token for Galaxy (#72203)
This commit is contained in:
parent
e673b8e4ec
commit
c084bc160c
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ To configure a Galaxy server list in ``ansible.cfg``:
|
|||
#. Add the ``server_list`` option under the ``[galaxy]`` section to one or more server names.
|
||||
#. Create a new section for each server name.
|
||||
#. Set the ``url`` option for each server name.
|
||||
#. Optionally, set the API token for each server name. See :ref:`API token <collections_installing>` for details.
|
||||
#. Optionally, set the API token for each server name. Go to https://galaxy.ansible.com/me/preferences and click :guilabel:`Show API key`.
|
||||
|
||||
.. note::
|
||||
The ``url`` option for each server name must end with a forward slash ``/``. If you do not set the API token in your Galaxy server list, use the ``--api-key`` argument to pass in the token to the ``ansible-galaxy collection publish`` command.
|
||||
|
|
Loading…
Add table
Reference in a new issue