mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-11-01 16:10:15 +00:00
New VM improvements
This commit is contained in:
1 parent
ebc1b4901e
commit
3686d7f627
7 files changed
+180
-29
No files matched your search
@@ -1,15 +1,25 @@
|
||||
---
|
||||
- import_tasks: workbench.yml
|
||||
when: new_wb_quantity|int > 0
|
||||
- name: Create VMs
|
||||
block:
|
||||
- import_tasks: workbench.yml
|
||||
when: new_wb_quantity|int > 0
|
||||
|
||||
- import_tasks: application.yml
|
||||
when: new_app_quantity|int > 0
|
||||
- import_tasks: application.yml
|
||||
when: new_app_quantity|int > 0
|
||||
|
||||
- import_tasks: gpu.yml
|
||||
when: new_gpu_quantity|int > 0
|
||||
- import_tasks: gpu.yml
|
||||
when: new_gpu_quantity|int > 0
|
||||
|
||||
- name: Set Password Status
|
||||
replace:
|
||||
path: /deployments/{{ os_project }}-{{ win_project }}/PASSWORD
|
||||
regexp: '^finished$'
|
||||
replace: 'pending'
|
||||
- name: Set Password Status
|
||||
replace:
|
||||
path: /deployments/{{ os_project }}-{{ win_project }}/PASSWORD
|
||||
regexp: '^finished$'
|
||||
replace: 'pending'
|
||||
when:
|
||||
- new_wb_quantity|int > 0
|
||||
- new_app_quantity|int > 0
|
||||
- new_gpu_quantity|int > 0
|
||||
when: cleanup == 'false'
|
||||
|
||||
- import_tasks: metadata.yml
|
||||
when: cleanup == 'true'
|
||||
Reference in new issue
Block a user