mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 12:27: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) }}"
|
name: "{{ os_project }}-{{ win_project }}-gpu{{ '%02d' | format(item+1) }}"
|
||||||
state: "{{ state }}"
|
state: "{{ state }}"
|
||||||
image: "{{ vm_image }}"
|
image: "{{ vm_image }}"
|
||||||
flavor: "{{ user_vm_flavor }}"
|
flavor: "{{ gpu_flavor }}"
|
||||||
timeout: 900
|
timeout: 900
|
||||||
boot_from_volume: true
|
boot_from_volume: true
|
||||||
volume_size: 40
|
volume_size: 40
|
||||||
@@ -204,7 +204,7 @@
|
|||||||
name: "{{ os_project }}-{{ win_project }}-gpu{{ '%02d' | format(item+1) }}"
|
name: "{{ os_project }}-{{ win_project }}-gpu{{ '%02d' | format(item+1) }}"
|
||||||
state: "{{ state }}"
|
state: "{{ state }}"
|
||||||
image: "{{ vm_image }}"
|
image: "{{ vm_image }}"
|
||||||
flavor: "{{ user_vm_flavor }}"
|
flavor: "{{ gpu_flavor }}"
|
||||||
timeout: 900
|
timeout: 900
|
||||||
boot_from_volume: true
|
boot_from_volume: true
|
||||||
volume_size: 40
|
volume_size: 40
|
||||||
@@ -247,7 +247,7 @@
|
|||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
state: "{{ state }}"
|
state: "{{ state }}"
|
||||||
image: "{{ vm_image }}"
|
image: "{{ vm_image }}"
|
||||||
flavor: "{{ user_vm_flavor }}"
|
flavor: "{{ server_vm_flavor }}"
|
||||||
timeout: 3600
|
timeout: 3600
|
||||||
boot_from_volume: true
|
boot_from_volume: true
|
||||||
volume_size: 40
|
volume_size: 40
|
||||||
@@ -290,7 +290,7 @@
|
|||||||
name: "{{ os_project }}-{{ win_project }}-proxy"
|
name: "{{ os_project }}-{{ win_project }}-proxy"
|
||||||
state: "{{ state }}"
|
state: "{{ state }}"
|
||||||
image: "{{ proxy_image }}"
|
image: "{{ proxy_image }}"
|
||||||
flavor: "{{ user_vm_flavor }}"
|
flavor: 3661211f-673a-4777-8857-fd243d6c407d
|
||||||
timeout: 900
|
timeout: 900
|
||||||
boot_from_volume: true
|
boot_from_volume: true
|
||||||
volume_size: 40
|
volume_size: 40
|
||||||
|
|||||||
Reference in new issue
Block a user