optimising vmss tests (#50175)
This commit is contained in:
parent
806b90f6f1
commit
0127a75132
1 changed files with 15 additions and 15 deletions
|
@ -83,11 +83,11 @@
|
||||||
azure_rm_virtualmachine_scaleset:
|
azure_rm_virtualmachine_scaleset:
|
||||||
resource_group: "{{ resource_group }}"
|
resource_group: "{{ resource_group }}"
|
||||||
name: testVMSS{{ rpfx }}
|
name: testVMSS{{ rpfx }}
|
||||||
vm_size: Standard_DS1_v2
|
vm_size: Standard_B1s
|
||||||
admin_username: testuser
|
admin_username: testuser
|
||||||
ssh_password_enabled: true
|
ssh_password_enabled: true
|
||||||
admin_password: "Password1234!"
|
admin_password: "Password1234!"
|
||||||
capacity: 2
|
capacity: 1
|
||||||
virtual_network_name: testVnet
|
virtual_network_name: testVnet
|
||||||
subnet_name: testSubnet
|
subnet_name: testSubnet
|
||||||
load_balancer: testLB
|
load_balancer: testLB
|
||||||
|
@ -128,11 +128,11 @@
|
||||||
azure_rm_virtualmachine_scaleset:
|
azure_rm_virtualmachine_scaleset:
|
||||||
resource_group: "{{ resource_group }}"
|
resource_group: "{{ resource_group }}"
|
||||||
name: testVMSS{{ rpfx }}
|
name: testVMSS{{ rpfx }}
|
||||||
vm_size: Standard_DS1_v2
|
vm_size: Standard_B1s
|
||||||
admin_username: testuser
|
admin_username: testuser
|
||||||
ssh_password_enabled: true
|
ssh_password_enabled: true
|
||||||
admin_password: "Password1234!"
|
admin_password: "Password1234!"
|
||||||
capacity: 2
|
capacity: 1
|
||||||
virtual_network_name: testVnet
|
virtual_network_name: testVnet
|
||||||
subnet_name: testSubnet
|
subnet_name: testSubnet
|
||||||
upgrade_policy: Manual
|
upgrade_policy: Manual
|
||||||
|
@ -159,11 +159,11 @@
|
||||||
azure_rm_virtualmachine_scaleset:
|
azure_rm_virtualmachine_scaleset:
|
||||||
resource_group: "{{ resource_group }}"
|
resource_group: "{{ resource_group }}"
|
||||||
name: testVMSS{{ rpfx }}
|
name: testVMSS{{ rpfx }}
|
||||||
vm_size: Standard_DS1_v2
|
vm_size: Standard_B1s
|
||||||
admin_username: testuser
|
admin_username: testuser
|
||||||
ssh_password_enabled: true
|
ssh_password_enabled: true
|
||||||
admin_password: "Password1234!"
|
admin_password: "Password1234!"
|
||||||
capacity: 2
|
capacity: 1
|
||||||
virtual_network_name: testVnet
|
virtual_network_name: testVnet
|
||||||
subnet_name: testSubnet
|
subnet_name: testSubnet
|
||||||
upgrade_policy: Automatic
|
upgrade_policy: Automatic
|
||||||
|
@ -228,8 +228,8 @@
|
||||||
name: testVMSS{{ rpfx }}
|
name: testVMSS{{ rpfx }}
|
||||||
state: absent
|
state: absent
|
||||||
remove_on_absent: ['all']
|
remove_on_absent: ['all']
|
||||||
vm_size: Standard_DS1_v2
|
vm_size: Standard_B1s
|
||||||
capacity: 2
|
capacity: 1
|
||||||
image:
|
image:
|
||||||
offer: CoreOS
|
offer: CoreOS
|
||||||
publisher: CoreOS
|
publisher: CoreOS
|
||||||
|
@ -338,7 +338,7 @@
|
||||||
azure_rm_virtualmachine_scaleset:
|
azure_rm_virtualmachine_scaleset:
|
||||||
resource_group: "{{ resource_group }}"
|
resource_group: "{{ resource_group }}"
|
||||||
name: testVMSS{{ rpfx }}2
|
name: testVMSS{{ rpfx }}2
|
||||||
vm_size: Standard_DS1_v2
|
vm_size: Standard_B1s
|
||||||
capacity: 1
|
capacity: 1
|
||||||
virtual_network_name: testVnet
|
virtual_network_name: testVnet
|
||||||
subnet_name: testSubnet
|
subnet_name: testSubnet
|
||||||
|
@ -367,7 +367,7 @@
|
||||||
name: testVMSS{{ rpfx }}2
|
name: testVMSS{{ rpfx }}2
|
||||||
state: absent
|
state: absent
|
||||||
remove_on_absent: ['all']
|
remove_on_absent: ['all']
|
||||||
vm_size: Standard_DS1_v2
|
vm_size: Standard_B1s
|
||||||
capacity: 1
|
capacity: 1
|
||||||
image:
|
image:
|
||||||
offer: CoreOS
|
offer: CoreOS
|
||||||
|
@ -379,7 +379,7 @@
|
||||||
azure_rm_virtualmachine_scaleset:
|
azure_rm_virtualmachine_scaleset:
|
||||||
resource_group: "{{ resource_group }}"
|
resource_group: "{{ resource_group }}"
|
||||||
name: testVMSS{{ rpfx }}4
|
name: testVMSS{{ rpfx }}4
|
||||||
vm_size: Standard_DS1_v2
|
vm_size: Standard_B1s
|
||||||
virtual_network_name: testVnet
|
virtual_network_name: testVnet
|
||||||
subnet_name: testSubnet
|
subnet_name: testSubnet
|
||||||
admin_username: testuser
|
admin_username: testuser
|
||||||
|
@ -438,7 +438,7 @@
|
||||||
resource_group: "{{ resource_group }}"
|
resource_group: "{{ resource_group }}"
|
||||||
name: testvm002
|
name: testvm002
|
||||||
state: present
|
state: present
|
||||||
vm_size: Standard_DS1_v2
|
vm_size: Standard_B1s
|
||||||
image:
|
image:
|
||||||
offer: UbuntuServer
|
offer: UbuntuServer
|
||||||
register: fail_invalid_image_dict
|
register: fail_invalid_image_dict
|
||||||
|
@ -449,7 +449,7 @@
|
||||||
resource_group: "{{ resource_group }}"
|
resource_group: "{{ resource_group }}"
|
||||||
name: testvm002
|
name: testvm002
|
||||||
state: present
|
state: present
|
||||||
vm_size: Standard_DS1_v2
|
vm_size: Standard_B1s
|
||||||
image:
|
image:
|
||||||
- testing
|
- testing
|
||||||
register: fail_invalid_image_type
|
register: fail_invalid_image_type
|
||||||
|
@ -460,7 +460,7 @@
|
||||||
resource_group: "{{ resource_group }}"
|
resource_group: "{{ resource_group }}"
|
||||||
name: testvm002
|
name: testvm002
|
||||||
state: present
|
state: present
|
||||||
vm_size: Standard_DS1_v2
|
vm_size: Standard_B1s
|
||||||
image: invalid-image
|
image: invalid-image
|
||||||
register: fail_missing_custom_image
|
register: fail_missing_custom_image
|
||||||
failed_when: fail_missing_custom_image.msg != "Error could not find image with name invalid-image"
|
failed_when: fail_missing_custom_image.msg != "Error could not find image with name invalid-image"
|
||||||
|
@ -470,7 +470,7 @@
|
||||||
resource_group: "{{ resource_group }}"
|
resource_group: "{{ resource_group }}"
|
||||||
name: testvm002
|
name: testvm002
|
||||||
state: present
|
state: present
|
||||||
vm_size: Standard_DS1_v2
|
vm_size: Standard_B1s
|
||||||
image:
|
image:
|
||||||
name: invalid-image
|
name: invalid-image
|
||||||
register: fail_missing_custom_image_dict
|
register: fail_missing_custom_image_dict
|
||||||
|
|
Loading…
Reference in a new issue