Ansible 2 · Inventory, roles and collections

Create a role skeleton

Create the standard folder layout for a role.

ansible-galaxy role init my_role

Official Ansible 2 documentation

More inventory, roles and collections commands

All inventory, roles and collections commands · Ansible 2 cheatsheet

Was this page helpful?