0Pricing
Ansible Academy · Lesson

Install Roles with requirements.yml

Pin and fetch dependencies.

Stop Installing By Hand

Running install commands one by one does not scale. A requirements.yml file lists every dependency so the whole project installs in one shot.

A Manifest for Dependencies

Think of requirements.yml as your package manifest: it declares exactly which roles and collections your playbooks need to run.

All lessons in this course

  1. Roles vs Collections on Galaxy
  2. Install Roles with requirements.yml
  3. Using FQCN: namespace.collection.module
  4. Publishing Your Own Role to Galaxy
← Back to Ansible Academy