Skip to content

Commit

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

Adds common CLI use for `ansible-galaxy` command.
  • Loading branch information
samccann authored Nov 30, 2023
2 parents ad97d91 + 3027208 commit 3ee9c0d
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 3ee9c0d

Please sign in to comment.