mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fixing disabled azure sanity tests (#40519)
* fixing azure sanity tests * fixing sanity * fixing some tags issues * removed unnecessary things from managed disk * fixed location problem * more sanity fixes * sanity test fixes * final sanity fixes? * final fixes again * undo changes related to container instance * removed container instance * readd again * fixed stupid mistake * removed _azure from changes * one more mistake
This commit is contained in:
parent
9bc5dd5d09
commit
8e38668285
30 changed files with 123 additions and 126 deletions
|
@ -39,10 +39,13 @@ options:
|
||||||
location:
|
location:
|
||||||
description:
|
description:
|
||||||
- Valid azure location. Defaults to location of the resource group.
|
- Valid azure location. Defaults to location of the resource group.
|
||||||
default: resource_group location
|
|
||||||
orchestration_platform:
|
orchestration_platform:
|
||||||
description:
|
description:
|
||||||
- Specifies the Container Orchestration Platform to use. Currently can be either DCOS, Kubernetes or Swarm.
|
- Specifies the Container Orchestration Platform to use. Currently can be either DCOS, Kubernetes or Swarm.
|
||||||
|
choices:
|
||||||
|
- 'DCOS'
|
||||||
|
- 'Kubernetes'
|
||||||
|
- 'Swarm'
|
||||||
required: true
|
required: true
|
||||||
master_profile:
|
master_profile:
|
||||||
description:
|
description:
|
||||||
|
@ -116,6 +119,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- Should VM Diagnostics be enabled for the Container Service VM's.
|
- Should VM Diagnostics be enabled for the Container Service VM's.
|
||||||
required: true
|
required: true
|
||||||
|
type: bool
|
||||||
|
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- azure
|
- azure
|
||||||
|
|
|
@ -45,7 +45,6 @@ options:
|
||||||
location:
|
location:
|
||||||
description:
|
description:
|
||||||
- Valid azure location. Defaults to location of the resource group.
|
- Valid azure location. Defaults to location of the resource group.
|
||||||
default: resource_group location
|
|
||||||
required: false
|
required: false
|
||||||
platform_update_domain_count:
|
platform_update_domain_count:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -29,6 +29,10 @@ options:
|
||||||
resource_group:
|
resource_group:
|
||||||
description:
|
description:
|
||||||
- The resource group to search for the desired availability set
|
- The resource group to search for the desired availability set
|
||||||
|
tags:
|
||||||
|
description:
|
||||||
|
- List of tags to be matched
|
||||||
|
version_added: 2.6
|
||||||
|
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- azure
|
- azure
|
||||||
|
|
|
@ -38,7 +38,6 @@ options:
|
||||||
location:
|
location:
|
||||||
description:
|
description:
|
||||||
- Valid azure location. Defaults to location of the resource group.
|
- Valid azure location. Defaults to location of the resource group.
|
||||||
default: resource_group location
|
|
||||||
admin_user_enabled:
|
admin_user_enabled:
|
||||||
description:
|
description:
|
||||||
- If enabled, you can use the registry name as username and admin user access key as password to docker login to your container registry.
|
- If enabled, you can use the registry name as username and admin user access key as password to docker login to your container registry.
|
||||||
|
@ -235,7 +234,7 @@ class AzureRMContainerRegistry(AzureRMModuleBase):
|
||||||
sku=dict(
|
sku=dict(
|
||||||
type='str',
|
type='str',
|
||||||
required=False,
|
required=False,
|
||||||
default='Basic',
|
default='Standard',
|
||||||
choices=['Basic', 'Standard', 'Premium']
|
choices=['Basic', 'Standard', 'Premium']
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
@ -30,6 +30,8 @@ options:
|
||||||
description:
|
description:
|
||||||
- The resource group name to use or create to host the deployed template
|
- The resource group name to use or create to host the deployed template
|
||||||
required: true
|
required: true
|
||||||
|
aliases:
|
||||||
|
- resource_group
|
||||||
location:
|
location:
|
||||||
description:
|
description:
|
||||||
- The geo-locations in which the resource group will be located.
|
- The geo-locations in which the resource group will be located.
|
||||||
|
@ -83,6 +85,7 @@ options:
|
||||||
|
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- azure
|
- azure
|
||||||
|
- azure_tags
|
||||||
|
|
||||||
author:
|
author:
|
||||||
- David Justice (@devigned)
|
- David Justice (@devigned)
|
||||||
|
|
|
@ -90,6 +90,7 @@ options:
|
||||||
|
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- azure
|
- azure
|
||||||
|
- azure_tags
|
||||||
|
|
||||||
author:
|
author:
|
||||||
- "Obezimnaka Boms (@ozboms)"
|
- "Obezimnaka Boms (@ozboms)"
|
||||||
|
|
|
@ -42,6 +42,7 @@ options:
|
||||||
|
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- azure
|
- azure
|
||||||
|
- azure_tags
|
||||||
|
|
||||||
author:
|
author:
|
||||||
- "Ozi Boms @ozboms"
|
- "Ozi Boms @ozboms"
|
||||||
|
|
|
@ -25,10 +25,28 @@ options:
|
||||||
description:
|
description:
|
||||||
- Name of resource group
|
- Name of resource group
|
||||||
required: true
|
required: true
|
||||||
|
aliases:
|
||||||
|
- resource_group_name
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
- Name of the Azure Function App
|
- Name of the Azure Function App
|
||||||
required: true
|
required: true
|
||||||
|
location:
|
||||||
|
description:
|
||||||
|
- Valid Azure location. Defaults to location of the resource group.
|
||||||
|
version_added: 2.6
|
||||||
|
storage_account:
|
||||||
|
description:
|
||||||
|
- Name of the storage account to use.
|
||||||
|
required: true
|
||||||
|
aliases:
|
||||||
|
- storage
|
||||||
|
- storage_account_name
|
||||||
|
version_added: 2.6
|
||||||
|
app_settings:
|
||||||
|
description:
|
||||||
|
- Dictionary containing application settings
|
||||||
|
version_added: 2.6
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- Assert the state of the Function App. Use 'present' to create or update a Function App and
|
- Assert the state of the Function App. Use 'present' to create or update a Function App and
|
||||||
|
@ -41,6 +59,7 @@ options:
|
||||||
|
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- azure
|
- azure
|
||||||
|
- azure_tags
|
||||||
|
|
||||||
author:
|
author:
|
||||||
- "Thomas Stringer (@tstringer)"
|
- "Thomas Stringer (@tstringer)"
|
||||||
|
|
|
@ -42,7 +42,6 @@ options:
|
||||||
location:
|
location:
|
||||||
description:
|
description:
|
||||||
- Valid azure location. Defaults to location of the resource group.
|
- Valid azure location. Defaults to location of the resource group.
|
||||||
default: resource_group location
|
|
||||||
sku:
|
sku:
|
||||||
description:
|
description:
|
||||||
The load balancer SKU.
|
The load balancer SKU.
|
||||||
|
|
|
@ -43,7 +43,6 @@ options:
|
||||||
location:
|
location:
|
||||||
description:
|
description:
|
||||||
- Valid Azure location. Defaults to location of the resource group.
|
- Valid Azure location. Defaults to location of the resource group.
|
||||||
default: resource_group location
|
|
||||||
storage_account_type:
|
storage_account_type:
|
||||||
description:
|
description:
|
||||||
- "Type of storage for the managed disk: C(Standard_LRS) or C(Premium_LRS). If not specified the disk is created C(Standard_LRS)."
|
- "Type of storage for the managed disk: C(Standard_LRS) or C(Premium_LRS). If not specified the disk is created C(Standard_LRS)."
|
||||||
|
|
|
@ -47,6 +47,7 @@ options:
|
||||||
|
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- azure
|
- azure
|
||||||
|
- azure_tags
|
||||||
|
|
||||||
author:
|
author:
|
||||||
- "Bruno Medina (@brusMX)"
|
- "Bruno Medina (@brusMX)"
|
||||||
|
@ -112,34 +113,6 @@ class AzureRMManagedDiskFacts(AzureRMModuleBase):
|
||||||
type='str',
|
type='str',
|
||||||
required=False
|
required=False
|
||||||
),
|
),
|
||||||
state=dict(
|
|
||||||
type='str',
|
|
||||||
required=False,
|
|
||||||
default='present',
|
|
||||||
choices=['present', 'absent']
|
|
||||||
),
|
|
||||||
location=dict(
|
|
||||||
type='str',
|
|
||||||
required=False
|
|
||||||
),
|
|
||||||
storage_account_type=dict(
|
|
||||||
type='str',
|
|
||||||
required=False,
|
|
||||||
choices=['Standard_LRS', 'Premium_LRS']
|
|
||||||
),
|
|
||||||
os_type=dict(
|
|
||||||
type='str',
|
|
||||||
required=False,
|
|
||||||
choices=['linux', 'windows']
|
|
||||||
),
|
|
||||||
disk_size_gb=dict(
|
|
||||||
type='int',
|
|
||||||
required=False
|
|
||||||
),
|
|
||||||
managed_by=dict(
|
|
||||||
type='str',
|
|
||||||
required=False
|
|
||||||
),
|
|
||||||
tags=dict(
|
tags=dict(
|
||||||
type='str',
|
type='str',
|
||||||
required=False
|
required=False
|
||||||
|
@ -152,13 +125,9 @@ class AzureRMManagedDiskFacts(AzureRMModuleBase):
|
||||||
)
|
)
|
||||||
self.resource_group = None
|
self.resource_group = None
|
||||||
self.name = None
|
self.name = None
|
||||||
self.location = None
|
|
||||||
self.storage_account_type = None
|
|
||||||
self.create_option = None
|
self.create_option = None
|
||||||
self.source_uri = None
|
self.source_uri = None
|
||||||
self.source_resource_uri = None
|
self.source_resource_uri = None
|
||||||
self.os_type = None
|
|
||||||
self.disk_size_gb = None
|
|
||||||
self.tags = None
|
self.tags = None
|
||||||
super(AzureRMManagedDiskFacts, self).__init__(
|
super(AzureRMManagedDiskFacts, self).__init__(
|
||||||
derived_arg_spec=self.module_arg_spec,
|
derived_arg_spec=self.module_arg_spec,
|
||||||
|
|
|
@ -52,6 +52,14 @@ options:
|
||||||
of the properties do not match.
|
of the properties do not match.
|
||||||
type: bool
|
type: bool
|
||||||
default: 'no'
|
default: 'no'
|
||||||
|
state:
|
||||||
|
description:
|
||||||
|
- Assert the state of the MySQL Database. Use 'present' to create or update a database and 'absent' to delete it.
|
||||||
|
default: present
|
||||||
|
choices:
|
||||||
|
- absent
|
||||||
|
- present
|
||||||
|
version_added: 2.6
|
||||||
|
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- azure
|
- azure
|
||||||
|
|
|
@ -68,6 +68,19 @@ options:
|
||||||
admin_password:
|
admin_password:
|
||||||
description:
|
description:
|
||||||
- The password of the administrator login.
|
- The password of the administrator login.
|
||||||
|
create_mode:
|
||||||
|
description:
|
||||||
|
- Create mode of SQL Server
|
||||||
|
default: Default
|
||||||
|
version_added: 2.6
|
||||||
|
state:
|
||||||
|
description:
|
||||||
|
- Assert the state of the MySQL Server. Use 'present' to create or update a server and 'absent' to delete it.
|
||||||
|
default: present
|
||||||
|
choices:
|
||||||
|
- absent
|
||||||
|
- present
|
||||||
|
version_added: 2.6
|
||||||
|
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- azure
|
- azure
|
||||||
|
|
|
@ -50,7 +50,6 @@ options:
|
||||||
location:
|
location:
|
||||||
description:
|
description:
|
||||||
- Valid azure location. Defaults to location of the resource group.
|
- Valid azure location. Defaults to location of the resource group.
|
||||||
default: resource_group location
|
|
||||||
required: false
|
required: false
|
||||||
virtual_network_resource_group:
|
virtual_network_resource_group:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -52,6 +52,14 @@ options:
|
||||||
of the properties do not match.
|
of the properties do not match.
|
||||||
type: bool
|
type: bool
|
||||||
default: 'no'
|
default: 'no'
|
||||||
|
state:
|
||||||
|
description:
|
||||||
|
- Assert the state of the PostgreSQL database. Use 'present' to create or update a database and 'absent' to delete it.
|
||||||
|
default: present
|
||||||
|
choices:
|
||||||
|
- absent
|
||||||
|
- present
|
||||||
|
version_added: 2.6
|
||||||
|
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- azure
|
- azure
|
||||||
|
|
|
@ -68,6 +68,19 @@ options:
|
||||||
admin_password:
|
admin_password:
|
||||||
description:
|
description:
|
||||||
- The password of the administrator login.
|
- The password of the administrator login.
|
||||||
|
create_mode:
|
||||||
|
description:
|
||||||
|
- Create mode of SQL Server
|
||||||
|
default: Default
|
||||||
|
version_added: 2.6
|
||||||
|
state:
|
||||||
|
description:
|
||||||
|
- Assert the state of the PostgreSQL server. Use 'present' to create or update a server and 'absent' to delete it.
|
||||||
|
default: present
|
||||||
|
choices:
|
||||||
|
- present
|
||||||
|
- absent
|
||||||
|
version_added: 2.6
|
||||||
|
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- azure
|
- azure
|
||||||
|
|
|
@ -39,7 +39,7 @@ options:
|
||||||
- Dynamic
|
- Dynamic
|
||||||
- Static
|
- Static
|
||||||
default: Dynamic
|
default: Dynamic
|
||||||
domain_name_label:
|
domain_name:
|
||||||
description:
|
description:
|
||||||
- The customizable portion of the FQDN assigned to public IP address. This is an explicit setting. If
|
- The customizable portion of the FQDN assigned to public IP address. This is an explicit setting. If
|
||||||
no value is provided, any existing value will be removed on an existing public IP.
|
no value is provided, any existing value will be removed on an existing public IP.
|
||||||
|
@ -60,7 +60,6 @@ options:
|
||||||
location:
|
location:
|
||||||
description:
|
description:
|
||||||
- Valid azure location. Defaults to location of the resource group.
|
- Valid azure location. Defaults to location of the resource group.
|
||||||
default: resource_group location
|
|
||||||
sku:
|
sku:
|
||||||
description:
|
description:
|
||||||
- The public IP address SKU.
|
- The public IP address SKU.
|
||||||
|
|
|
@ -34,7 +34,6 @@ options:
|
||||||
location:
|
location:
|
||||||
description:
|
description:
|
||||||
- Valid azure location. Defaults to location of the resource group.
|
- Valid azure location. Defaults to location of the resource group.
|
||||||
default: resource_group location
|
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
- Name of the security group to operate on.
|
- Name of the security group to operate on.
|
||||||
|
|
|
@ -46,6 +46,15 @@ options:
|
||||||
description:
|
description:
|
||||||
- "The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resour
|
- "The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resour
|
||||||
ce. Possible values include: 'SystemAssigned'"
|
ce. Possible values include: 'SystemAssigned'"
|
||||||
|
state:
|
||||||
|
description:
|
||||||
|
- Assert the state of the SQL server. Use 'present' to create or update a server and
|
||||||
|
'absent' to delete a server.
|
||||||
|
default: present
|
||||||
|
choices:
|
||||||
|
- absent
|
||||||
|
- present
|
||||||
|
version_added: "2.6"
|
||||||
|
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- azure
|
- azure
|
||||||
|
|
|
@ -32,6 +32,7 @@ options:
|
||||||
|
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- azure
|
- azure
|
||||||
|
- azure_tags
|
||||||
|
|
||||||
author:
|
author:
|
||||||
- "Zim Kalinowski (@zikalino)"
|
- "Zim Kalinowski (@zikalino)"
|
||||||
|
|
|
@ -42,7 +42,6 @@ options:
|
||||||
location:
|
location:
|
||||||
description:
|
description:
|
||||||
- Valid azure location. Defaults to location of the resource group.
|
- Valid azure location. Defaults to location of the resource group.
|
||||||
default: resource_group location
|
|
||||||
account_type:
|
account_type:
|
||||||
description:
|
description:
|
||||||
- "Type of storage account. Required when creating a storage account. NOTE: Standard_ZRS and Premium_LRS
|
- "Type of storage account. Required when creating a storage account. NOTE: Standard_ZRS and Premium_LRS
|
||||||
|
@ -73,11 +72,15 @@ options:
|
||||||
access_tier:
|
access_tier:
|
||||||
description:
|
description:
|
||||||
- The access tier for this storage account. Required for a storage account of kind 'BlobStorage'.
|
- The access tier for this storage account. Required for a storage account of kind 'BlobStorage'.
|
||||||
default: 'Storage'
|
|
||||||
choices:
|
choices:
|
||||||
- Hot
|
- Hot
|
||||||
- Cool
|
- Cool
|
||||||
version_added: "2.4"
|
version_added: "2.4"
|
||||||
|
force:
|
||||||
|
description:
|
||||||
|
- Attempt deletion if resource already exists and cannot be updated
|
||||||
|
type: bool
|
||||||
|
version_added: "2.6"
|
||||||
|
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- azure
|
- azure
|
||||||
|
|
|
@ -201,10 +201,10 @@ class AzureRMStorageBlob(AzureRMModuleBase):
|
||||||
blob=dict(type='str', aliases=['blob_name']),
|
blob=dict(type='str', aliases=['blob_name']),
|
||||||
blob_type=dict(type='str', default='block', choices=['block', 'page']),
|
blob_type=dict(type='str', default='block', choices=['block', 'page']),
|
||||||
container=dict(required=True, type='str', aliases=['container_name']),
|
container=dict(required=True, type='str', aliases=['container_name']),
|
||||||
dest=dict(type='path'),
|
dest=dict(type='path', aliases=['destination']),
|
||||||
force=dict(type='bool', default=False),
|
force=dict(type='bool', default=False),
|
||||||
resource_group=dict(required=True, type='str', aliases=['resource_group_name']),
|
resource_group=dict(required=True, type='str', aliases=['resource_group_name']),
|
||||||
src=dict(type='str'),
|
src=dict(type='str', aliases=['source']),
|
||||||
state=dict(type='str', default='present', choices=['absent', 'present']),
|
state=dict(type='str', default='present', choices=['absent', 'present']),
|
||||||
public_access=dict(type='str', choices=['container', 'blob']),
|
public_access=dict(type='str', choices=['container', 'blob']),
|
||||||
content_type=dict(type='str'),
|
content_type=dict(type='str'),
|
||||||
|
|
|
@ -61,6 +61,7 @@ options:
|
||||||
|
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- azure
|
- azure
|
||||||
|
- azure_tags
|
||||||
|
|
||||||
author:
|
author:
|
||||||
- "Chris Houseknecht (@chouseknecht)"
|
- "Chris Houseknecht (@chouseknecht)"
|
||||||
|
|
|
@ -58,13 +58,16 @@ options:
|
||||||
description:
|
description:
|
||||||
- Use with state 'present' to start the machine. Set to false to have the machine be 'stopped'.
|
- Use with state 'present' to start the machine. Set to false to have the machine be 'stopped'.
|
||||||
default: true
|
default: true
|
||||||
|
type: bool
|
||||||
allocated:
|
allocated:
|
||||||
description:
|
description:
|
||||||
- Toggle that controls if the machine is allocated/deallocated, only useful with state='present'.
|
- Toggle that controls if the machine is allocated/deallocated, only useful with state='present'.
|
||||||
default: True
|
default: True
|
||||||
|
type: bool
|
||||||
restarted:
|
restarted:
|
||||||
description:
|
description:
|
||||||
- Use with state 'present' to restart a running VM.
|
- Use with state 'present' to restart a running VM.
|
||||||
|
type: bool
|
||||||
location:
|
location:
|
||||||
description:
|
description:
|
||||||
- Valid Azure location. Defaults to location of the resource group.
|
- Valid Azure location. Defaults to location of the resource group.
|
||||||
|
@ -88,6 +91,7 @@ options:
|
||||||
- When the os_type is Linux, setting ssh_password_enabled to false will disable SSH password authentication
|
- When the os_type is Linux, setting ssh_password_enabled to false will disable SSH password authentication
|
||||||
and require use of SSH keys.
|
and require use of SSH keys.
|
||||||
default: true
|
default: true
|
||||||
|
type: bool
|
||||||
ssh_public_keys:
|
ssh_public_keys:
|
||||||
description:
|
description:
|
||||||
- "For os_type Linux provide a list of SSH keys. Each item in the list should be a dictionary where the
|
- "For os_type Linux provide a list of SSH keys. Each item in the list should be a dictionary where the
|
||||||
|
@ -118,11 +122,15 @@ options:
|
||||||
description:
|
description:
|
||||||
- Name of an existing storage account that supports creation of VHD blobs. If not specified for a new VM,
|
- Name of an existing storage account that supports creation of VHD blobs. If not specified for a new VM,
|
||||||
a new storage account named <vm name>01 will be created using storage type 'Standard_LRS'.
|
a new storage account named <vm name>01 will be created using storage type 'Standard_LRS'.
|
||||||
|
aliases:
|
||||||
|
- storage_account
|
||||||
storage_container_name:
|
storage_container_name:
|
||||||
description:
|
description:
|
||||||
- Name of the container to use within the storage account to store VHD blobs. If no name is specified a
|
- Name of the container to use within the storage account to store VHD blobs. If no name is specified a
|
||||||
default container will created.
|
default container will created.
|
||||||
default: vhds
|
default: vhds
|
||||||
|
aliases:
|
||||||
|
- storage_container
|
||||||
storage_blob_name:
|
storage_blob_name:
|
||||||
description:
|
description:
|
||||||
- Name fo the storage blob used to hold the VM's OS disk image. If no name is provided, defaults to
|
- Name fo the storage blob used to hold the VM's OS disk image. If no name is provided, defaults to
|
||||||
|
@ -151,8 +159,7 @@ options:
|
||||||
choices:
|
choices:
|
||||||
- Windows
|
- Windows
|
||||||
- Linux
|
- Linux
|
||||||
default:
|
default: Linux
|
||||||
- Linux
|
|
||||||
data_disks:
|
data_disks:
|
||||||
description:
|
description:
|
||||||
- Describes list of data disks.
|
- Describes list of data disks.
|
||||||
|
@ -208,8 +215,7 @@ options:
|
||||||
- Dynamic
|
- Dynamic
|
||||||
- Static
|
- Static
|
||||||
- Disabled
|
- Disabled
|
||||||
default:
|
default: Static
|
||||||
- Static
|
|
||||||
aliases:
|
aliases:
|
||||||
- public_ip_allocation
|
- public_ip_allocation
|
||||||
open_ports:
|
open_ports:
|
||||||
|
@ -223,6 +229,8 @@ options:
|
||||||
- List of existing network interface names to add to the VM. If a network interface name is not provided
|
- List of existing network interface names to add to the VM. If a network interface name is not provided
|
||||||
when the VM is created, a default network interface will be created. In order for the module to create
|
when the VM is created, a default network interface will be created. In order for the module to create
|
||||||
a network interface, at least one Virtual Network with one Subnet must exist.
|
a network interface, at least one Virtual Network with one Subnet must exist.
|
||||||
|
aliases:
|
||||||
|
- network_interfaces
|
||||||
virtual_network_resource_group:
|
virtual_network_resource_group:
|
||||||
description:
|
description:
|
||||||
- When creating a virtual machine, if a specific virtual network from another resource group should be
|
- When creating a virtual machine, if a specific virtual network from another resource group should be
|
||||||
|
|
|
@ -45,7 +45,6 @@ options:
|
||||||
location:
|
location:
|
||||||
description:
|
description:
|
||||||
- Valid azure location. Defaults to location of the resource group.
|
- Valid azure location. Defaults to location of the resource group.
|
||||||
default: resource_group location
|
|
||||||
required: false
|
required: false
|
||||||
virtual_machine_name:
|
virtual_machine_name:
|
||||||
description:
|
description:
|
||||||
|
@ -75,6 +74,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- Whether the extension handler should be automatically upgraded across minor versions.
|
- Whether the extension handler should be automatically upgraded across minor versions.
|
||||||
required: false
|
required: false
|
||||||
|
type: bool
|
||||||
|
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- azure
|
- azure
|
||||||
|
|
|
@ -47,6 +47,10 @@ options:
|
||||||
location:
|
location:
|
||||||
description:
|
description:
|
||||||
- Valid Azure location. Defaults to location of the resource group.
|
- Valid Azure location. Defaults to location of the resource group.
|
||||||
|
short_hostname:
|
||||||
|
description:
|
||||||
|
- Short host name
|
||||||
|
version_added: 2.6
|
||||||
vm_size:
|
vm_size:
|
||||||
description:
|
description:
|
||||||
- A valid Azure VM size value. For example, 'Standard_D4'. The list of choices varies depending on the
|
- A valid Azure VM size value. For example, 'Standard_D4'. The list of choices varies depending on the
|
||||||
|
@ -56,6 +60,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- Capacity of VMSS.
|
- Capacity of VMSS.
|
||||||
required: true
|
required: true
|
||||||
|
default: 1
|
||||||
tier:
|
tier:
|
||||||
description:
|
description:
|
||||||
- SKU Tier.
|
- SKU Tier.
|
||||||
|
@ -79,6 +84,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- When the os_type is Linux, setting ssh_password_enabled to false will disable SSH password authentication
|
- When the os_type is Linux, setting ssh_password_enabled to false will disable SSH password authentication
|
||||||
and require use of SSH keys.
|
and require use of SSH keys.
|
||||||
|
type: bool
|
||||||
default: true
|
default: true
|
||||||
ssh_public_keys:
|
ssh_public_keys:
|
||||||
description:
|
description:
|
||||||
|
@ -117,8 +123,7 @@ options:
|
||||||
choices:
|
choices:
|
||||||
- Windows
|
- Windows
|
||||||
- Linux
|
- Linux
|
||||||
default:
|
default: Linux
|
||||||
- Linux
|
|
||||||
managed_disk_type:
|
managed_disk_type:
|
||||||
description:
|
description:
|
||||||
- Managed disk type.
|
- Managed disk type.
|
||||||
|
|
|
@ -29,6 +29,10 @@ options:
|
||||||
resource_group:
|
resource_group:
|
||||||
description:
|
description:
|
||||||
- The resource group to search for the desired virtual machine scale set
|
- The resource group to search for the desired virtual machine scale set
|
||||||
|
tags:
|
||||||
|
description:
|
||||||
|
- List of tags to be matched
|
||||||
|
version_added: 2.6
|
||||||
format:
|
format:
|
||||||
description:
|
description:
|
||||||
- Format of the data returned.
|
- Format of the data returned.
|
||||||
|
|
|
@ -26,9 +26,6 @@ description:
|
||||||
- Get facts for virtual machine images.
|
- Get facts for virtual machine images.
|
||||||
|
|
||||||
options:
|
options:
|
||||||
name:
|
|
||||||
description:
|
|
||||||
- Only show results for a specific security group.
|
|
||||||
location:
|
location:
|
||||||
description:
|
description:
|
||||||
- Azure location value (ie. westus, eastus, eastus2, northcentralus, etc.). Supplying only a
|
- Azure location value (ie. westus, eastus, eastus2, northcentralus, etc.). Supplying only a
|
||||||
|
@ -126,7 +123,7 @@ class AzureRMVirtualMachineImageFacts(AzureRMModuleBase):
|
||||||
self.sku = None
|
self.sku = None
|
||||||
self.version = None
|
self.version = None
|
||||||
|
|
||||||
super(AzureRMVirtualMachineImageFacts, self).__init__(self.module_arg_spec)
|
super(AzureRMVirtualMachineImageFacts, self).__init__(self.module_arg_spec, supports_tags=False)
|
||||||
|
|
||||||
def exec_module(self, **kwargs):
|
def exec_module(self, **kwargs):
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,6 @@ options:
|
||||||
location:
|
location:
|
||||||
description:
|
description:
|
||||||
- Valid azure location. Defaults to location of the resource group.
|
- Valid azure location. Defaults to location of the resource group.
|
||||||
default: resource_group location
|
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
- name of the virtual network.
|
- name of the virtual network.
|
||||||
|
@ -52,6 +51,8 @@ options:
|
||||||
- Use with state present to remove any existing address_prefixes.
|
- Use with state present to remove any existing address_prefixes.
|
||||||
type: bool
|
type: bool
|
||||||
default: 'no'
|
default: 'no'
|
||||||
|
aliases:
|
||||||
|
- purge
|
||||||
purge_dns_servers:
|
purge_dns_servers:
|
||||||
description:
|
description:
|
||||||
- Use with state present to remove existing DNS servers, reverting to default Azure servers. Mutually
|
- Use with state present to remove existing DNS servers, reverting to default Azure servers. Mutually
|
||||||
|
|
|
@ -145,75 +145,7 @@ lib/ansible/modules/cloud/atomic/atomic_container.py E317
|
||||||
lib/ansible/modules/cloud/atomic/atomic_container.py E326
|
lib/ansible/modules/cloud/atomic/atomic_container.py E326
|
||||||
lib/ansible/modules/cloud/azure/_azure.py E324
|
lib/ansible/modules/cloud/azure/_azure.py E324
|
||||||
lib/ansible/modules/cloud/azure/_azure.py E326
|
lib/ansible/modules/cloud/azure/_azure.py E326
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_acs.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_acs.py E325
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_acs.py E326
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_availabilityset.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_availabilityset_facts.py E322
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_containerinstance.py E324
|
lib/ansible/modules/cloud/azure/azure_rm_containerinstance.py E324
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_containerregistry.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_deployment.py E322
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_deployment.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_deployment.py E325
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_dnsrecordset.py E322
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_dnsrecordset.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_dnsrecordset.py E325
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_dnsrecordset_facts.py E322
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_dnsrecordset_facts.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_dnsrecordset_facts.py E325
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_functionapp.py E322
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_functionapp.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_functionapp.py E325
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_loadbalancer.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_managed_disk.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_managed_disk_facts.py E322
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_managed_disk_facts.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_managed_disk_facts.py E325
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_managed_disk_facts.py E326
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_mysqldatabase.py E322
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_mysqldatabase.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_mysqldatabase.py E326
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_mysqlserver.py E322
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_mysqlserver.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_mysqlserver.py E326
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_networkinterface.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_postgresqldatabase.py E322
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_postgresqldatabase.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_postgresqldatabase.py E326
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_postgresqlserver.py E322
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_postgresqlserver.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_postgresqlserver.py E326
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_publicipaddress.py E322
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_publicipaddress.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_securitygroup.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_sqlserver.py E322
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_sqlserver.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_sqlserver.py E326
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_sqlserver_facts.py E322
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_sqlserver_facts.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_sqlserver_facts.py E325
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_storageaccount.py E322
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_storageaccount.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_storageaccount.py E325
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_storageblob.py E323
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_subnet.py E322
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_subnet.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_subnet.py E325
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py E322
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py E325
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_virtualmachine_extension.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_virtualmachine_extension.py E325
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_virtualmachine_scaleset.py E322
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_virtualmachine_scaleset.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_virtualmachine_scaleset.py E325
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_virtualmachine_scaleset_facts.py E322
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_virtualmachineimage_facts.py E322
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_virtualmachineimage_facts.py E323
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_virtualmachineimage_facts.py E324
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_virtualmachineimage_facts.py E325
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_virtualnetwork.py E322
|
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_virtualnetwork.py E324
|
|
||||||
lib/ansible/modules/cloud/centurylink/clc_alert_policy.py E317
|
lib/ansible/modules/cloud/centurylink/clc_alert_policy.py E317
|
||||||
lib/ansible/modules/cloud/centurylink/clc_firewall_policy.py E317
|
lib/ansible/modules/cloud/centurylink/clc_firewall_policy.py E317
|
||||||
lib/ansible/modules/cloud/centurylink/clc_firewall_policy.py E324
|
lib/ansible/modules/cloud/centurylink/clc_firewall_policy.py E324
|
||||||
|
|
Loading…
Reference in a new issue