Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add plugin installation check to boilerplate text #324

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions antsibull/data/docsite/plugin.rst.j2
Expand Up @@ -68,9 +68,11 @@
.. note::
This plugin is part of the `@{collection}@ collection <https://galaxy.ansible.com/@{collection | replace('.', '/', 1)}@>`_{% if collection_version %} (version @{ collection_version }@){% endif %}.

It is included in the ``ansible`` package. It is not included in ``ansible-core``.
You might already have this collection installed if you are using the ``ansible`` package.
It is not included in ``ansible-core``.
To check whether it is installed, run :code:`ansible-galaxy collection list`.

To install it use: :code:`ansible-galaxy collection install @{collection}@`.
To install it, use: :code:`ansible-galaxy collection install @{collection}@`.

To use it in a playbook, specify: :code:`@{plugin_name}@`.
{% endif %}
Expand Down