fix the autoscale resource id (#45477)

* fix the autoscale resource id

* Update main.yml
This commit is contained in:
Yuwei Zhou
2018-09-11 18:52:43 +08:00
committed by Zim Kalinowski
parent 211aeebd0d
commit fa04387550
2 changed files with 9 additions and 6 deletions

View File

@@ -74,7 +74,10 @@
azure_rm_autoscale:
resource_group: "{{ resource_group }}"
name: "{{ name }}"
target: "{{ vmss.ansible_facts.azure_vmss.id }}"
target:
name: "testVMSS{{ rpfx }}"
types: "virtualMachineScaleSets"
namespace: "Microsoft.Compute"
enabled: true
profiles:
- count: '1'