mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 12:47:21 +00:00
use variables for VM flavors
This commit is contained in:
1 parent
4ab7f110b6
commit
83e2e24e6b
1 file changed
+4
-4
@@ -169,7 +169,7 @@
|
||||
name: "{{ os_project }}-{{ win_project }}-gpu{{ '%02d' | format(item+1) }}"
|
||||
state: "{{ state }}"
|
||||
image: "{{ vm_image }}"
|
||||
flavor: "{{ user_vm_flavor }}"
|
||||
flavor: "{{ gpu_flavor }}"
|
||||
timeout: 900
|
||||
boot_from_volume: true
|
||||
volume_size: 40
|
||||
@@ -204,7 +204,7 @@
|
||||
name: "{{ os_project }}-{{ win_project }}-gpu{{ '%02d' | format(item+1) }}"
|
||||
state: "{{ state }}"
|
||||
image: "{{ vm_image }}"
|
||||
flavor: "{{ user_vm_flavor }}"
|
||||
flavor: "{{ gpu_flavor }}"
|
||||
timeout: 900
|
||||
boot_from_volume: true
|
||||
volume_size: 40
|
||||
@@ -247,7 +247,7 @@
|
||||
name: "{{ item.name }}"
|
||||
state: "{{ state }}"
|
||||
image: "{{ vm_image }}"
|
||||
flavor: "{{ user_vm_flavor }}"
|
||||
flavor: "{{ server_vm_flavor }}"
|
||||
timeout: 3600
|
||||
boot_from_volume: true
|
||||
volume_size: 40
|
||||
@@ -290,7 +290,7 @@
|
||||
name: "{{ os_project }}-{{ win_project }}-proxy"
|
||||
state: "{{ state }}"
|
||||
image: "{{ proxy_image }}"
|
||||
flavor: "{{ user_vm_flavor }}"
|
||||
flavor: 3661211f-673a-4777-8857-fd243d6c407d
|
||||
timeout: 900
|
||||
boot_from_volume: true
|
||||
volume_size: 40
|
||||
|
||||
Reference in new issue
Block a user