summaryrefslogtreecommitdiffstats
path: root/roles/pve-network/meta/argument_specs.yml
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-07-03 21:32:24 +0200
committerAhmed Abdelhalim <[email protected]>2026-07-03 21:46:32 +0200
commit005c49353a6a71954e6a975a43989ded1786022a (patch)
tree81881feb4dd3726d351f67cdabe7231b24d25383 /roles/pve-network/meta/argument_specs.yml
parentcc92c206fce389af2260eecc54ca9f2f97bbb0a0 (diff)
Refactor pve and add pve-network role to configure the pve network
Diffstat (limited to 'roles/pve-network/meta/argument_specs.yml')
-rw-r--r--roles/pve-network/meta/argument_specs.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/roles/pve-network/meta/argument_specs.yml b/roles/pve-network/meta/argument_specs.yml
new file mode 100644
index 00000000..6f93a13b
--- /dev/null
+++ b/roles/pve-network/meta/argument_specs.yml
@@ -0,0 +1,32 @@
+---
+argument_specs:
+ main:
+ options:
+ pve_network_interface:
+ type: "str"
+ description: "Physical ethernet interface to add as bridge port"
+ default: "enp0s25"
+ network_ipv4_address:
+ type: "str"
+ description: "Static IPv4 address for vmbr0"
+ required: true
+ network_ipv4_prefix:
+ type: "int"
+ description: "IPv4 prefix length"
+ default: 24
+ network_ipv4_gateway:
+ type: "str"
+ description: "IPv4 default gateway"
+ required: true
+ network_ipv4_dns:
+ type: "str"
+ description: "IPv4 DNS server"
+ network_ipv6_address:
+ type: "str"
+ description: "Static IPv6 address for vmbr0 (optional)"
+ network_ipv6_gateway:
+ type: "str"
+ description: "IPv6 default gateway (required if network_ipv6_address is set)"
+ network_ipv6_dns:
+ type: "str"
+ description: "IPv6 DNS server"