new-role
Scaffold a complete Ansible role following the standard directory structure and production conventions.
Required Inputs
Collect these parameters (one at a time, using discovery context for defaults):
- role_name — The role name (e.g.,
nginx,postgres,ntp) - location — One of:
- role_path: Directory to create the role in (e.g.,
./roles/, default from discoveryroles_path) - FQCN:
namespace.collection.role(e.g.,myorg.infra.nginx) → cr
- role_path: Directory to create the role in (e.g.,
[Description truncada. Veja o README completo no GitHub.]