|
|
@ -38,6 +38,7 @@ options:
|
|
|
|
- If C(raw) is selected information will be returned in raw format from Azure Python SDK.
|
|
|
|
- If C(raw) is selected information will be returned in raw format from Azure Python SDK.
|
|
|
|
- If C(curated) is selected the structure will be identical to input parameters of azure_rm_virtualmachine_scaleset module.
|
|
|
|
- If C(curated) is selected the structure will be identical to input parameters of azure_rm_virtualmachine_scaleset module.
|
|
|
|
- In Ansible 2.5 and lower facts are always returned in raw format.
|
|
|
|
- In Ansible 2.5 and lower facts are always returned in raw format.
|
|
|
|
|
|
|
|
- Please note that this option will be deprecated in 2.10 when curated format will become the only supported format.
|
|
|
|
default: 'raw'
|
|
|
|
default: 'raw'
|
|
|
|
choices:
|
|
|
|
choices:
|
|
|
|
- 'curated'
|
|
|
|
- 'curated'
|
|
|
@ -70,7 +71,7 @@ EXAMPLES = '''
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
RETURN = '''
|
|
|
|
RETURN = '''
|
|
|
|
azure_vmss:
|
|
|
|
vmss:
|
|
|
|
description: List of virtual machine scale sets
|
|
|
|
description: List of virtual machine scale sets
|
|
|
|
returned: always
|
|
|
|
returned: always
|
|
|
|
type: complex
|
|
|
|
type: complex
|
|
|
@ -345,6 +346,10 @@ class AzureRMVirtualMachineScaleSetFacts(AzureRMModuleBase):
|
|
|
|
|
|
|
|
|
|
|
|
self.results['ansible_facts']['azure_vmss'][index] = updated
|
|
|
|
self.results['ansible_facts']['azure_vmss'][index] = updated
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# proper result format we want to support in the future
|
|
|
|
|
|
|
|
# dropping 'ansible_facts' and shorter name 'vmss'
|
|
|
|
|
|
|
|
self.results['vmss'] = self.results['ansible_facts']['azure_vmss']
|
|
|
|
|
|
|
|
|
|
|
|
return self.results
|
|
|
|
return self.results
|
|
|
|
|
|
|
|
|
|
|
|
def get_item(self):
|
|
|
|
def get_item(self):
|
|
|
|