Skip to content

Commit

Permalink
add ansible-galaxy to command cheatsheet (#826) (#884)
Browse files Browse the repository at this point in the history
Part of #48

Adds common CLI use for `ansible-galaxy` command.

(cherry picked from commit 3ee9c0d)

Co-authored-by: Sandra McCann <samccann@redhat.com>
  • Loading branch information
patchback[bot] and samccann committed Nov 30, 2023
1 parent 8d4e868 commit be20c2a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/docsite/rst/command_guide/cheatsheet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,24 @@ Loads ``my_playbook.yml`` from the current working directory and:

See :ref:`ansible-playbook` for detailed documentation.


ansible-galaxy
==============

Installing a collection:

.. code-block:: bash
ansible-galaxy collection install mynamespace.mycollection
Downloads ``mynamespace.mycollection`` from the configured Galaxy server (`<galaxy.ansible.com>`_ by default).


Listing all installed collections:

.. code-block:: bash
ansible-galaxy collection list
See :ref:`ansible-galaxy` for detailed documentation.

0 comments on commit be20c2a

Please sign in to comment.