Matriz de módulo y versión de AnsibleAnsible module and version matrix

Ansible incluye un conjunto de módulos para su uso en el aprovisionamiento y configuración de los recursos de Azure.Ansible includes a suite of modules for use in provisioning and configuring Azure resources. Estos recursos incluyen máquinas virtuales, conjuntos de escalado, servicios de redes y servicios de contenedores.These resources include virtual machines, scale sets, networking services, and container services. En este artículo se enumeran los distintos módulos de Ansible para Azure y las versiones de Ansible en las que se incluyen.This article lists the various Ansible modules for Azure and the Ansible versions in which they ship.

Módulos de Ansible para AzureAnsible modules for Azure

Los siguientes módulos se pueden ejecutar directamente en hosts remotos o mediante cuadernos de estrategias.The following modules can be executed directly on remote hosts or through playbooks.

Estos módulos están disponibles en la versión oficial de Ansible y en los siguientes roles de cuaderno de estrategias de Microsoft.These modules are available from the Ansible official release and from the following Microsoft playbook roles.

Módulo Ansible para AzureAnsible module for Azure Ansible 2.4Ansible 2.4 Ansible 2.5Ansible 2.5 Ansible 2.6Ansible 2.6 Ansible 2.7Ansible 2.7 Ansible 2.8Ansible 2.8 Rol de AnsibleAnsible Role
ProcesoCompute
azure_rm_availabilitysetazure_rm_availabilityset Yes Yes Yes Yes Yes Yes
azure_rm_availabilityset_factsazure_rm_availabilityset_facts Yes Yes Yes Yes Yes Yes
azure_rm_deploymentazure_rm_deployment Yes Yes Yes Yes Yes Yes
azure_rm_deployment_factsazure_rm_deployment_facts - - - - Yes Yes
azure_rm_functionappazure_rm_functionapp Yes Yes Yes Yes Yes Yes
azure_rm_functionapp_factsazure_rm_functionapp_facts Yes Yes Yes Yes Yes Yes
azure_rm_imageazure_rm_image - Yes Yes Yes Yes Yes
azure_rm_image_factsazure_rm_image_facts - - - - Yes Yes
azure_rm_resourceazure_rm_resource - - Yes Yes Yes Yes
azure_rm_resource_factsazure_rm_resource_facts - - Yes Yes Yes Yes
azure_rm_resourcegroupazure_rm_resourcegroup Yes Yes Yes Yes Yes Yes
azure_rm_resourcegroup_factsazure_rm_resourcegroup_facts Yes Yes Yes Yes Yes Yes
azure_rm_virtualmachineazure_rm_virtualmachine Yes Yes Yes Yes Yes Yes
azure_rm_virtualmachine_factsazure_rm_virtualmachine_facts - - - Yes Yes Yes
azure_rm_virtualmachineextensionazure_rm_virtualmachineextension Yes Yes Yes Yes Yes Yes
azure_rm_virtualmachineextension_factsazure_rm_virtualmachineextension_facts - - - - Yes Yes
azure_rm_virtualmachineimage_factsazure_rm_virtualmachineimage_facts Yes Yes Yes Yes Yes Yes
azure_rm_virtualmachinescalesetazure_rm_virtualmachinescaleset Yes Yes Yes Yes Yes Yes
azure_rm_virtualmachinescaleset_factsazure_rm_virtualmachinescaleset_facts Yes Yes Yes Yes Yes Yes
azure_rm_virtualmachinescalesetextensionazure_rm_virtualmachinescalesetextension - - - - Yes Yes
azure_rm_virtualmachinescalesetextension_factsazure_rm_virtualmachinescalesetextension_facts - - - - Yes Yes
azure_rm_virtualmachinescalesetinstanceazure_rm_virtualmachinescalesetinstance - - - - Yes Yes
azure_rm_virtualmachinescalesetinstance_factsazure_rm_virtualmachinescalesetinstance_facts - - - - Yes Yes
RedesNetworking
azure_rm_appgatewayazure_rm_appgateway - - - Yes Yes Yes
azure_rm_appgwrouteazure_rm_appgwroute - - - - - Yes
azure_rm_appgwroute_factsazure_rm_appgwroute_facts - - - - - Yes
azure_rm_appgwroutetableazure_rm_appgwroutetable - - - - - Yes
azure_rm_appgwroutetable_factsazure_rm_appgwroutetable_facts - - - - - Yes
azure_rm_applicationsecuritygroupazure_rm_applicationsecuritygroup - - - - Yes Yes
azure_rm_applicationsecuritygroup_factsazure_rm_applicationsecuritygroup_facts - - - - Yes Yes
azure_rm_cdnendpointazure_rm_cdnendpoint - - - - Yes Yes
azure_rm_cdnendpoint_factsazure_rm_cdnendpoint_facts - - - - Yes Yes
azure_rm_cdnprofileazure_rm_cdnprofile - - - - Yes Yes
azure_rm_cdnprofile_factsazure_rm_cdnprofile_facts - - - - Yes Yes
azure_rm_dnsrecordsetazure_rm_dnsrecordset Yes Yes Yes Yes Yes Yes
azure_rm_dnsrecordset_factsazure_rm_dnsrecordset_facts Yes Yes Yes Yes Yes Yes
azure_rm_dnszoneazure_rm_dnszone Yes Yes Yes Yes Yes Yes
azure_rm_dnszone_factsazure_rm_dnszone_facts Yes Yes Yes Yes Yes Yes
azure_rm_loadbalancerazure_rm_loadbalancer Yes Yes Yes Yes Yes Yes
azure_rm_loadbalancer_factsazure_rm_loadbalancer_facts Yes Yes Yes Yes Yes Yes
azure_rm_networkinterfaceazure_rm_networkinterface Yes Yes Yes Yes Yes Yes
azure_rm_networkinterface_factsazure_rm_networkinterface_facts Yes Yes Yes Yes Yes Yes
azure_rm_publicipaddressazure_rm_publicipaddress Yes Yes Yes Yes Yes Yes
azure_rm_publicipaddress_factsazure_rm_publicipaddress_facts Yes Yes Yes Yes Yes Yes
azure_rm_routeazure_rm_route - - - Yes Yes Yes
azure_rm_routetableazure_rm_routetable - - - Yes Yes Yes
azure_rm_routetable_factsazure_rm_routetable_facts - - - Yes Yes Yes
azure_rm_securitygroupazure_rm_securitygroup Yes Yes Yes Yes Yes Yes
azure_rm_subnetazure_rm_subnet Yes Yes Yes Yes Yes Yes
azure_rm_subnet_factsazure_rm_subnet_facts - - - - Yes Yes
azure_rm_trafficmanagerendpointazure_rm_trafficmanagerendpoint - - - Yes Yes Yes
azure_rm_trafficmanagerendpoint_factsazure_rm_trafficmanagerendpoint_facts - - - Yes Yes Yes
azure_rm_trafficmanagerprofileazure_rm_trafficmanagerprofile - - - Yes Yes Yes
azure_rm_trafficmanagerprofile_factsazure_rm_trafficmanagerprofile_facts - - - Yes Yes Yes
azure_rm_virtualnetworkazure_rm_virtualnetwork Yes Yes Yes Yes Yes Yes
azure_rm_virtualnetwork_factsazure_rm_virtualnetwork_facts Yes Yes Yes Yes Yes Yes
azure_rm_virtualnetworkpeeringazure_rm_virtualnetworkpeering - - - - Yes Yes
StorageStorage
azure_rm_manageddiskazure_rm_manageddisk Yes Yes Yes Yes Yes Yes
azure_rm_manageddisk_factsazure_rm_manageddisk_facts Yes Yes Yes Yes Yes Yes
azure_rm_storageaccountazure_rm_storageaccount Yes Yes Yes Yes Yes Yes
azure_rm_storageaccount_factsazure_rm_storageaccount_facts Yes Yes Yes Yes Yes Yes
azure_rm_storageblobazure_rm_storageblob Yes Yes Yes Yes Yes Yes
WebWeb
azure_rm_appserviceplanazure_rm_appserviceplan - - - Yes Yes Yes
azure_rm_appserviceplan_factsazure_rm_appserviceplan_facts - - - Yes Yes Yes
azure_rm_webappazure_rm_webapp - - - Yes Yes Yes
azure_rm_webapp_factsazure_rm_webapp_facts - - - Yes Yes Yes
azure_rm_webappslotazure_rm_webappslot - - - - Yes Yes
ContenedoresContainers
azure_rm_acsazure_rm_acs Yes Yes Yes Yes Yes Yes
azure_rm_aksazure_rm_aks - - Yes Yes Yes Yes
azure_rm_aks_factsazure_rm_aks_facts - - Yes Yes Yes Yes
azure_rm_aksversion_factsazure_rm_aksversion_facts - - - - Yes Yes
azure_rm_containerinstanceazure_rm_containerinstance - Yes Yes Yes Yes Yes
azure_rm_containerinstance_factsazure_rm_containerinstance_facts - - - - Yes Yes
azure_rm_containerregistryazure_rm_containerregistry - Yes Yes Yes Yes Yes
azure_rm_containerregistry_factsazure_rm_containerregistry_facts - - - Yes Yes Yes
azure_rm_containerregistryreplicationazure_rm_containerregistryreplication - - - - Yes Yes
azure_rm_containerregistryreplication_factsazure_rm_containerregistryreplication_facts - - - - Yes Yes
azure_rm_containerregistrywebhookazure_rm_containerregistrywebhook - - - - Yes Yes
azure_rm_containerregistrywebhook_factsazure_rm_containerregistrywebhook_facts - - - - Yes Yes
Bases de datosDatabases
azure_rm_cosmosdbaccountazure_rm_cosmosdbaccount - - - - Yes Yes
azure_rm_cosmosdbaccount_factsazure_rm_cosmosdbaccount_facts - - - - Yes Yes
azure_rm_mariadbconfigurationazure_rm_mariadbconfiguration - - - - Yes Yes
azure_rm_mariadbconfiguration_factsazure_rm_mariadbconfiguration_facts - - - - Yes Yes
azure_rm_mariadbdatabaseazure_rm_mariadbdatabase - - - - Yes Yes
azure_rm_mariadbdatabase_factsazure_rm_mariadbdatabase_facts - - - - Yes Yes
azure_rm_mariadbfirewallruleazure_rm_mariadbfirewallrule - - - - Yes Yes
azure_rm_mariadbfirewallrule_factsazure_rm_mariadbfirewallrule_facts - - - - Yes Yes
azure_rm_mariadbserverazure_rm_mariadbserver - - - - Yes Yes
azure_rm_mariadbserver_factsazure_rm_mariadbserver_facts - - - - Yes Yes
azure_rm_mysqlconfigurationazure_rm_mysqlconfiguration - - - - Yes Yes
azure_rm_mysqlconfiguration_factsazure_rm_mysqlconfiguration_facts - - - - Yes Yes
azure_rm_mysqldatabaseazure_rm_mysqldatabase - Yes Yes Yes Yes Yes
azure_rm_mysqldatabase_factsazure_rm_mysqldatabase_facts - - - Yes Yes Yes
azure_rm_mysqlfirewallruleazure_rm_mysqlfirewallrule - - - - Yes Yes
azure_rm_mysqlfirewallrule_factsazure_rm_mysqlfirewallrule_facts - - - - Yes Yes
azure_rm_mysqlserverazure_rm_mysqlserver - Yes Yes Yes Yes Yes
azure_rm_mysqlserver_factsazure_rm_mysqlserver_facts - - - Yes Yes Yes
azure_rm_postgresqlconfigurationazure_rm_postgresqlconfiguration - - - - Yes Yes
azure_rm_postgresqlconfiguration_factsazure_rm_postgresqlconfiguration_facts - - - - Yes Yes
azure_rm_postgresqldatabaseazure_rm_postgresqldatabase - Yes Yes Yes Yes Yes
azure_rm_postgresqldatabase_factsazure_rm_postgresqldatabase_facts - - - Yes Yes Yes
azure_rm_postgresqlfirewallruleazure_rm_postgresqlfirewallrule - - - - Yes Yes
azure_rm_postgresqlfirewallrule_factsazure_rm_postgresqlfirewallrule_facts - - - - Yes Yes
azure_rm_postgresqlserverazure_rm_postgresqlserver - Yes Yes Yes Yes Yes
azure_rm_postgresqlserver_factsazure_rm_postgresqlserver_facts - - - Yes Yes Yes
azure_rm_rediscacheazure_rm_rediscache - - - - Yes Yes
azure_rm_rediscache_factsazure_rm_rediscache_facts - - - - Yes Yes
azure_rm_rediscachefirewallruleazure_rm_rediscachefirewallrule - - - - Yes Yes
azure_rm_sqldatabaseazure_rm_sqldatabase - Yes Yes Yes Yes Yes
azure_rm_sqldatabase_factsazure_rm_sqldatabase_facts - - - - Yes Yes
azure_rm_sqlelasticpoolazure_rm_sqlelasticpool - - - - Yes Yes
azure_rm_sqlelasticpool_factsazure_rm_sqlelasticpool_facts - - - - Yes Yes
azure_rm_sqlfirewallruleazure_rm_sqlfirewallrule - - - Yes Yes Yes
azure_rm_sqlfirewallrule_factsazure_rm_sqlfirewallrule_facts - - - - Yes Yes
azure_rm_sqlserverazure_rm_sqlserver - Yes Yes Yes Yes Yes
azure_rm_sqlserver_factsazure_rm_sqlserver_facts - Yes Yes Yes Yes Yes
AnalyticsAnalytics
azure_rm_hdinsightclusterazure_rm_hdinsightcluster - - - - Yes Yes
IntegraciónIntegration
azure_rm_servicebusazure_rm_servicebus - - - - Yes Yes
azure_rm_servicebus_factsazure_rm_servicebus_facts - - - - Yes Yes
azure_rm_servicebusqueueazure_rm_servicebusqueue - - - - Yes Yes
azure_rm_servicebussaspolicyazure_rm_servicebussaspolicy - - - - Yes Yes
azure_rm_servicebustopicazure_rm_servicebustopic - - - - Yes Yes
azure_rm_servicebustopicsubscriptionazure_rm_servicebustopicsubscription - - - - Yes Yes
SeguridadSecurity
azure_rm_keyvaultazure_rm_keyvault - Yes Yes Yes Yes Yes
azure_rm_keyvault_factsazure_rm_keyvault_facts - - - - Yes Yes
azure_rm_keyvaultkeyazure_rm_keyvaultkey - Yes Yes Yes Yes Yes
azure_rm_keyvaultsecretazure_rm_keyvaultsecret - Yes Yes Yes Yes Yes
azure_rm_roleassignmentazure_rm_roleassignment - - - - Yes Yes
azure_rm_roleassignment_factsazure_rm_roleassignment_facts - - - - Yes Yes
azure_rm_roledefinitionazure_rm_roledefinition - - - - Yes Yes
azure_rm_roledefinition_factsazure_rm_roledefinition_facts - - - - Yes Yes
DevOpsDevOps
azure_rm_devtestlabazure_rm_devtestlab - - - - Yes Yes
azure_rm_devtestlab_factsazure_rm_devtestlab_facts - - - - Yes Yes
azure_rm_devtestlabarmtemplate_factsazure_rm_devtestlabarmtemplate_facts - - - - Yes Yes
azure_rm_devtestlabartifact_factsazure_rm_devtestlabartifact_facts - - - - Yes Yes
azure_rm_devtestlabartifactsourceazure_rm_devtestlabartifactsource - - - - Yes Yes
azure_rm_devtestlabartifactsource_factsazure_rm_devtestlabartifactsource_facts - - - - Yes Yes
azure_rm_devtestlabcustomimageazure_rm_devtestlabcustomimage - - - - Yes Yes
azure_rm_devtestlabenvironmentazure_rm_devtestlabenvironment - - - - Yes Yes
azure_rm_devtestlabpolicyazure_rm_devtestlabpolicy - - - - Yes Yes
azure_rm_devtestlabscheduleazure_rm_devtestlabschedule - - - - Yes Yes
azure_rm_devtestlabvirtualmachineazure_rm_devtestlabvirtualmachine - - - - Yes Yes
azure_rm_devtestlabvirtualmachine_factsazure_rm_devtestlabvirtualmachine_facts - - - - Yes Yes
azure_rm_devtestlabvirtualnetworkazure_rm_devtestlabvirtualnetwork - - - - Yes Yes
azure_rm_devtestlabvirtualnetwork_factsazure_rm_devtestlabvirtualnetwork_facts - - - - Yes Yes
Azure MonitorAzure Monitor
azure_rm_autoscaleazure_rm_autoscale - - - Yes Yes Yes
azure_rm_autoscale_factsazure_rm_autoscale_facts - - - Yes Yes Yes
azure_rm_loganalyticsworkspaceazure_rm_loganalyticsworkspace - - - - Yes Yes
azure_rm_loganalyticsworkspace_factsazure_rm_loganalyticsworkspace_facts - - - - Yes Yes

Introducción al rol de cuaderno de estrategias de AzureIntroduction to playbook role for Azure

El rol de cuaderno de estrategias azure_preview_module incluye todos los módulos más recientes de Azure.The azure_preview_module playbook role includes all the latest Azure modules. Las actualizaciones y correcciones de errores se realizan de manera más oportuna que en la versión oficial de Ansible.The updates and bug fixes are done in a more timely manner than the official Ansible release. Si usa Ansible para el aprovisionamiento de recursos de Azure, se recomienda instalar el rol de cuaderno de estrategias azure_preview_module.If you use Ansible for Azure resource provisioning purposes, you're encouraged to install the azure_preview_module playbook role.

El rol de cuaderno de estrategias azure_preview_module se publica cada tres semanas.The azure_preview_module playbook role is released every three weeks.

Pasos siguientesNext steps

Para obtener más información sobre los roles de cuaderno de estrategias, vea Creating Reusable Playbooks (Creación de cuadernos de estrategias reutilizables).For more information about playbook roles, see Creating reusable playbooks.