Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding roles to what is catalogued within a collection #231

Closed
cidrblock opened this issue May 11, 2021 · 2 comments · Fixed by #1059
Closed

Consider adding roles to what is catalogued within a collection #231

cidrblock opened this issue May 11, 2021 · 2 comments · Fixed by #1059
Assignees
Labels
AAP Ansible automation platform enhancement New feature or request

Comments

@cidrblock
Copy link
Collaborator

No description provided.

@cidrblock cidrblock added the enhancement New feature or request label May 16, 2021
@dalston
Copy link

dalston commented Jul 30, 2021

This would be a nice feature to have. I imagine two ways to browse the roles..

  1. menu-like list of the roles involved with the ability to open them up in an external editor
  2. Search the roles/playbooks for a variable name (or some regex) and get a list of the files you can select from to edit in an external editor

For myself, when I open up a role for editing I like to see the variables and the tasks at the same time. I usually use something like this..

vim -O defaults/main.yml tasks/main.yml

I've written a BASH script that performs the functions I've suggested here. You're welcome to take a look and use whatever you want from it.
virole.txt

@samccann
Copy link
Collaborator

samccann commented Aug 3, 2021

FWIW - with the new roles arspec in place, we have the start of documentation autogeneration from roles. You can see it in this PR - ansible-community/antsibull-build#272 and the places it links to. I expect that will be merged shortly, and it's something that navigator could display per role (for roles that use the argspec).

@ganeshrn ganeshrn added the new New issues and PRs to triaged label Aug 23, 2021
@ganeshrn ganeshrn added the AAP Ansible automation platform label Nov 18, 2021
@ganeshrn ganeshrn removed the new New issues and PRs to triaged label Jan 24, 2022
Repository owner moved this from Todo to Done in 🧰 devtools project board Mar 11, 2022
@cidrblock cidrblock self-assigned this Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AAP Ansible automation platform enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants