debops / debops-playbooks

Ansible playbooks used by DebOps project
GNU General Public License v3.0
489 stars 88 forks source link

Add commonly used set of Jinja2 macros to the repository #337

Closed ypid closed 7 years ago

ypid commented 7 years ago

Reason: Needed because there are a few macros which currently get inlined/duplicated into the different role’s templates which is not really maintenance friendly. As you can see this as the versions of the merge_dict macro already differs slightly in debops.ifupdown and debops.cron. Such deviations can automatically be resolved by debops-optimize when there are common files which can be identified by filename and updated.