Fix module issues (#52209)

This commit is contained in:
Dag Wieers 2019-02-15 12:57:20 +01:00 committed by GitHub
parent cedd9d9926
commit 203caf2570
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
54 changed files with 290 additions and 238 deletions

View file

@ -80,7 +80,7 @@ options:
geo_mapping:
description:
- The list of countries/regions mapped to this endpoint when traffic manager profile has routing_method of C(geographic).
type: str
type: list
state:
description:
- Assert the state of the Traffic Manager endpoint. Use C(present) to create or update a Traffic Manager endpoint and C(absent) to delete it.

View file

@ -167,12 +167,12 @@ class AzureRMWebAppFacts(AzureRMModuleBase):
name=dict(type='str'),
resource_group=dict(type='str'),
tags=dict(type='list'),
return_publish_profile=dict(type=bool, default=False)
return_publish_profile=dict(type='bool', default=False),
)
self.results = dict(
changed=False,
webapps=[]
webapps=[],
)
self.name = None

View file

@ -248,7 +248,7 @@ swap_spec = dict(
type='str'
),
preserve_vnet=dict(
type=bool,
type='bool',
default=True
)
)