kvm/bolt_vm_automation/tasks/system_setup.json

41 lines
1005 B
JSON
Raw Normal View History

2024-11-21 20:35:42 +00:00
{
"description": "Configures system network settings using netplan",
"parameters": {
"ip_with_cidr": {
"type": "String",
"description": "IP address for the VM",
"default": "100.40.223.190/24"
},
"hostname": {
"type": "String",
"description": "Hostname for the VM",
"default": "vm-template-staging"
},
"dhcp": {
"type": "Boolean",
"description": "Whether to use DHCP for network configuration",
"default": false
},
"gateway": {
"type": "String",
"description": "Gateway IP address",
"default": "100.40.223.1"
},
"nameserver1": {
"type": "String",
"description": "Primary DNS nameserver",
"default": "8.8.8.8"
},
"nameserver2": {
"type": "String",
"description": "Secondary DNS nameserver",
"default": "8.8.4.4"
},
"nameserver3": {
"type": "String",
"description": "Tertiary DNS nameserver",
"default": "1.1.1.1"
}
}
}