You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to suggest switching to Copier for generating documentation and continuous integration (CI) files for the Ansible roles managed by ansible-generator. Copier is an open-source tool that simplifies the process of generating projects and files from templates. It provides a simple syntax for describing the files to generate and the variables to use for customizing the generation process.
Benefits
Here are some benefits of using Copier that I think would be particularly useful for ansible-generator:
Simpler, more maintainable templates: Copier uses a straightforward syntax that makes it easy to describe the files to generate and the variables to use. This would make it easier for maintainers to update the templates as needed and for users to customize the generated files.
More flexibility: Copier provides a lot of flexibility in how it generates files. It can generate files from local templates or remote repositories, and it can even use Jinja2 templates to generate files dynamically based on the user's input. This would give users more options for how they generate their files.
More powerful templates: Copier provides a lot of built-in functions for working with files, directories, strings, and other data types. This would enable more powerful templates that could do things like generating files based on the current date or iterating over a list of items to generate multiple files.
Thank you for considering this suggestion! Please let me know if you have any questions or concerns.
The text was updated successfully, but these errors were encountered:
ThomasSanson
changed the title
Feature Request: Switch to Copier for generating Ansible Role documentation and CI files
Feature Request: Switch to Copier for generating Ansible Role
Feb 23, 2023
Description
I'd like to suggest switching to Copier for generating documentation and continuous integration (CI) files for the Ansible roles managed by ansible-generator. Copier is an open-source tool that simplifies the process of generating projects and files from templates. It provides a simple syntax for describing the files to generate and the variables to use for customizing the generation process.
Benefits
Here are some benefits of using Copier that I think would be particularly useful for ansible-generator:
Additional Information
Thank you for considering this suggestion! Please let me know if you have any questions or concerns.
The text was updated successfully, but these errors were encountered: