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
@ -333,10 +333,6 @@ You can install roles and collections from the same requirements files, with som
version: 0.9.3
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.