mirror of
https://github.com/dredx/prole.git
synced 2026-09-27 11:34:30 +00:00
- netplan_static: avoid Jinja whitespace/indent YAML breakage with trim_blocks; set /etc/netplan perms to 0600; add render+YAML-parse test - dashboard: install concrete conky provider (conky-all) and add defaults test; wire role into site.yml; document dashboard service usage - mariadb: add mariadb parent group for group_vars scope; add group defaults deriving datastore password from vault; add vault entry; add vars resolution test; remove host overrides - misc: update port-forward mappings, generated prole.cfg, and bump prole-db version Co-authored-by: Junie <junie@jetbrains.com>
20 lines
550 B
Django/Jinja
20 lines
550 B
Django/Jinja
network:
|
|
version: 2
|
|
renderer: NetworkManager
|
|
ethernets:
|
|
{{ netplan_static_iface_effective }}:
|
|
dhcp4: false
|
|
dhcp6: false
|
|
addresses:
|
|
- {{ netplan_static_address }}
|
|
{% if (netplan_static_gateway4_effective | default('') | length) > 0 %}
|
|
gateway4: {{ netplan_static_gateway4_effective }}
|
|
{% endif %}
|
|
{% if (netplan_static_nameservers_effective | default([])) | length > 0 %}
|
|
nameservers:
|
|
addresses:
|
|
{% for ns in netplan_static_nameservers_effective %}
|
|
- {{ ns }}
|
|
{% endfor %}
|
|
{% endif %}
|