andresbott / ansible-autodoc

ansible-autodoc generates documentation from annotated Ansible Playbooks and Roles.
GNU Lesser General Public License v3.0
46 stars 26 forks source link

[feature req] #5

Open tobit6795 opened 4 years ago

tobit6795 commented 4 years ago

how about the possibility to get a list of available playbooks for example:

roles/auth
├── files
│   ├── skel
│   └── sudoers
├── handlers
│   └── main.yml
├── tasks
│   ├── auth.yml
│   ├── environment-redhat.yml
│   └── main.yml
├── templates
│   └── sshd_config.j2
└── vars
    └── redhat.yml

as you can see in my task i have a main.yml which includes the others. would be nice if i could get a list of the yml-files in the roles/$ROLE/task directory besides the tasks within the yml-files