Remove note on combining roles and collections (#72957)

This commit is contained in:
Jamie Wark 2020-12-16 04:18:14 +13:00 committed by GitHub
parent 8450858651
commit 7eee2454f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -317,7 +317,7 @@ Use the following example as a guide for specifying roles in *requirements.yml*:
Installing roles and collections from the same requirements.yml file Installing roles and collections from the same requirements.yml file
--------------------------------------------------------------------- ---------------------------------------------------------------------
You can install roles and collections from the same requirements files, with some caveats. You can install roles and collections from the same requirements files
.. code-block:: yaml .. code-block:: yaml
@ -333,10 +333,6 @@ You can install roles and collections from the same requirements files, with som
version: 0.9.3 version: 0.9.3
source: https://galaxy.ansible.com source: https://galaxy.ansible.com
.. note::
While both roles and collections can be specified in one requirements file, they need to be installed separately.
The ``ansible-galaxy role install -r requirements.yml`` will only install roles and ``ansible-galaxy collection install -r requirements.yml -p ./`` will only install collections.
Installing multiple roles from multiple files Installing multiple roles from multiple files
--------------------------------------------- ---------------------------------------------