refactor: reorganize proxmox roles, add hardware acceleration, and update common config tasks
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
2
group_vars/proxmox/containers.yml
Normal file
2
group_vars/proxmox/containers.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
lxcs:
|
||||
- name: "test-lxc-00"
|
||||
@@ -1,8 +1,11 @@
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
34303365623966316461623032386163326137623233353933313536343633623339356430303738
|
||||
6662353066663134356637633865396531616334636263360a313266393030623761626636333832
|
||||
39623262656664653430303162633739613761316536303865326465353333376230346632333737
|
||||
6635333534343330610a393730396538333932393836323963376333393239666132616364323166
|
||||
30373933363131353339376333633530313263663830393661353966306162613666396465366437
|
||||
37326630633463313864636239303030366633366635323266383664346466356166353433653661
|
||||
313938346264623634366464363330313863
|
||||
36383135343063353934336632616563666331386639393065633161353364623166393433636430
|
||||
3930633063366563306364643934353135333164383663660a346134626362396233626562313736
|
||||
38353830376130343734323631363036363163326666356231373963643933633437613331643665
|
||||
3030356364626235340a366162343334653333643962393131303239386331653436393431373636
|
||||
39356462393762626362653430376138633539663331396138663237363734613133613631356235
|
||||
33323439646230613934373639346136663330626330383566636361616234363333613464376538
|
||||
35356565663032613463626133633164383538313564376362336135373732396332343835323038
|
||||
66656639616566613564396338623934623830333135343837363230646161323665316432646532
|
||||
36613338616334306532376237316566376635326538313730633938333436623333383866383264
|
||||
3438343462323536653130306333626132326231376231653465
|
||||
|
||||
@@ -1,19 +1,3 @@
|
||||
proxmox_api_user: root
|
||||
proxmox_api_host: 192.168.20.12
|
||||
proxmox_api_password: "{{ vault.pve.aya01.root.sudo }}"
|
||||
|
||||
vms:
|
||||
- name: "test-vm-00"
|
||||
node: "inko"
|
||||
vmid: 950
|
||||
cores: 2
|
||||
memory: 8192 # in MiB
|
||||
net:
|
||||
net0: "virtio,bridge=vmbr0,firewall=1"
|
||||
boot_image: "{{ proxmox_cloud_init_images.ubuntu.name }}"
|
||||
ciuser: "{{ user }}"
|
||||
sshkeys: "{{ pubkey }}"
|
||||
disk_size: 32 # in Gb
|
||||
|
||||
lxcs:
|
||||
- name: "test-lxc-00"
|
||||
|
||||
25
group_vars/proxmox/vms.yml
Normal file
25
group_vars/proxmox/vms.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
vms:
|
||||
- name: "docker-host11"
|
||||
node: "inko"
|
||||
vmid: 311
|
||||
cores: 2
|
||||
memory: 4096 # in MiB
|
||||
net:
|
||||
net0: "virtio,bridge=vmbr0,firewall=1"
|
||||
boot_image: "{{ proxmox_cloud_init_images.ubuntu.name }}"
|
||||
ciuser: "{{ user }}"
|
||||
sshkeys: "{{ pubkey }}"
|
||||
disk_size: 128 # in Gb
|
||||
- name: "docker-host12"
|
||||
node: "lulu"
|
||||
vmid: 312
|
||||
cores: 2
|
||||
memory: 4096 # in MiB
|
||||
net:
|
||||
net0: "virtio,bridge=vmbr0,firewall=1"
|
||||
boot_image: "{{ proxmox_cloud_init_images.ubuntu.name }}"
|
||||
ciuser: "{{ user }}"
|
||||
sshkeys: "{{ pubkey }}"
|
||||
disk_size: 128 # in Gb
|
||||
# hostpci:
|
||||
# hostpci0: "0000:00:02.0"
|
||||
Reference in New Issue
Block a user