Ansible 2 · Inventory, roles and collections
Install a role
Download a role from Ansible Galaxy.
ansible-galaxy role install geerlingguy.nginx
Official Ansible 2 documentation
More inventory, roles and collections commands
- Show the inventory
- Show the inventory as a tree
- Install a collection
- Install from a requirements file
- Create a role skeleton
- Read module documentation
All inventory, roles and collections commands · Ansible 2 cheatsheet