A lot of users use the typical 'playbook adjacent' project layout for managing playbooks. That style will continue to be supported in ansible, but it may be useful to provide tool to convert it to more of a collections based project.
This would help jumpstart use of the collection 'style'.
Use of the collection style of playbook projects will make it easier for users to
adopt content to being managed with collections and/or galaxy in the future.
Describe the solution you'd like
A clear and concise description of what you want to happen. Add any considered drawbacks.
Alternatives
Not doing it at all
Implementation
Implementation would likely be similar to migrate_role though it may have to be more flexible or heuristic given the variety of ways to structure an ansible playbook project. Not all ansible playbook project structures would be supported, probably just the subset that adhere near to the 'best practices' style.
Feature Request
Use Case
A lot of users use the typical 'playbook adjacent' project layout for managing playbooks. That style will continue to be supported in ansible, but it may be useful to provide tool to convert it to more of a collections based project.
This would help jumpstart use of the collection 'style'.
Use of the collection style of playbook projects will make it easier for users to adopt content to being managed with collections and/or galaxy in the future.
By 'playbook adjancent' project style, I'm referring to the styles described at https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#directory-layout
And the tool here would migrate it to 'collection style'
Proposed Solution
Describe the solution you'd like A clear and concise description of what you want to happen. Add any considered drawbacks.
Alternatives
Implementation
Implementation would likely be similar to
migrate_role
though it may have to be more flexible or heuristic given the variety of ways to structure an ansible playbook project. Not all ansible playbook project structures would be supported, probably just the subset that adhere near to the 'best practices' style.