Commit c507113
committed
refactor: remove unnecessary static template wrappers
- Remove template wrapper files for static config files that don't use variables
- Keep only inventory.yml.tera wrapper that actually needs variable substitution
- Update documentation to reflect the simplified approach
- Static files are now copied directly without template processing
- Reduce code maintenance burden and improve performance
Benefits:
- Less code to maintain
- Simpler architecture
- Faster processing for static files
- Easier to add new templates when needed1 parent 47d92a6 commit c507113
File tree
12 files changed
+12
-573
lines changed- src/template
- wrappers
- ansible
- tofu
- lxd
12 files changed
+12
-573
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 7 | | |
13 | 8 | | |
14 | 9 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 23 | | |
29 | 24 | | |
30 | 25 | | |
31 | 26 | | |
32 | | - | |
| 27 | + | |
33 | 28 | | |
34 | 29 | | |
35 | 30 | | |
| |||
46 | 41 | | |
47 | 42 | | |
48 | 43 | | |
| 44 | + | |
49 | 45 | | |
50 | 46 | | |
51 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 3 | + | |
| 4 | + | |
8 | 5 | | |
9 | | - | |
10 | 6 | | |
11 | 7 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 8 | | |
16 | | - | |
0 commit comments