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

Add support for dynamic templates #44

Merged
merged 9 commits into from
Nov 21, 2024
Merged

Add support for dynamic templates #44

merged 9 commits into from
Nov 21, 2024

Conversation

isbm
Copy link
Member

@isbm isbm commented Nov 21, 2024

This PR allows to select parts of the model by minion traits as follows:

{% if traits.system.os.name == "Ubuntu" %}
   typos: 6
   correct: "Debian"
{% else %}
   typos: 0
{% endif %}

@isbm isbm added documentation Improvements or additions to documentation feature New feature or request labels Nov 21, 2024
@isbm isbm self-assigned this Nov 21, 2024
@isbm isbm marked this pull request as ready for review November 21, 2024 16:46
@isbm isbm merged commit 91df9d2 into master Nov 21, 2024
3 checks passed
@isbm isbm deleted the isbm-dyn-template branch November 21, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant