network: Support static subnet

This commit is contained in:
uumas
2025-09-14 03:07:28 +03:00
parent 12f32f5824
commit ad50e05ee9
3 changed files with 7 additions and 0 deletions

View File

@@ -5,6 +5,7 @@
state: quadlet
quadlet_file_mode: "0644"
driver: "{{ network_driver }}"
subnet: "{{ network_subnet if network_subnet | length > 0 else omit }}"
quadlet_options: >-
{{
['Options=parent=' ~ ansible_default_ipv4.interface]