Ajout d'un id de bridge proxmox par vlan
This commit is contained in:
parent
79eaea94a9
commit
2689088ed9
2 changed files with 3 additions and 2 deletions
|
@ -56,8 +56,9 @@ pvmt_vm_lvm_volumes:
|
||||||
|
|
||||||
# vlan vars
|
# vlan vars
|
||||||
nom_du_vlan:
|
nom_du_vlan:
|
||||||
netmask: 24
|
|
||||||
vlanid: 1
|
vlanid: 1
|
||||||
|
bridge: id_du_bridge
|
||||||
|
netmask: 24
|
||||||
gateway: 10.0.0.254
|
gateway: 10.0.0.254
|
||||||
nameservers: "10.0.0.1"
|
nameservers: "10.0.0.1"
|
||||||
searchdomain: domaine.local
|
searchdomain: domaine.local
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
name : "{{ pvmt_vm_name }}"
|
name : "{{ pvmt_vm_name }}"
|
||||||
interface: net0
|
interface: net0
|
||||||
state: present
|
state: present
|
||||||
bridge: vmbr0
|
bridge: "{{ vars[pvmt_vm_network].bridge }}"
|
||||||
firewall: yes
|
firewall: yes
|
||||||
model: virtio
|
model: virtio
|
||||||
tag: "{{ vars[pvmt_vm_network].vlanid }}"
|
tag: "{{ vars[pvmt_vm_network].vlanid }}"
|
||||||
|
|
Loading…
Reference in a new issue