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.

Nota

Desde Ansible 2.9 en adelante, hemos cambiado el nombre de todos los módulos *_facts a *_info para seguir la convención de nomenclatura de Ansible.From Ansible 2.9 onwards, we renamed all *_facts modules to *_info to adhere to Ansible naming convention. Los módulos antiguos y los renombrados se vinculan de forma que, aparte de mostrarse una advertencia de desuso, todos los módulos funcionen como antes.The old and renamed modules are linked so apart from seeing a deprecation warning, all modules work as before.

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 Ansible 2.9Ansible 2.9 Rol de AnsibleAnsible Role
ProcesoCompute
azure_rm_availabilitysetazure_rm_availabilityset Yes Yes Yes Yes Yes Yes Yes
azure_rm_availabilityset_infoazure_rm_availabilityset_info Yes Yes Yes Yes Yes Yes Yes
azure_rm_batchaccountazure_rm_batchaccount - - - - - Yes Yes
azure_rm_deploymentazure_rm_deployment Yes Yes Yes Yes Yes Yes Yes
azure_rm_deployment_infoazure_rm_deployment_info - - - - Yes Yes Yes
azure_rm_functionappazure_rm_functionapp Yes Yes Yes Yes Yes Yes Yes
azure_rm_functionapp_infoazure_rm_functionapp_info Yes Yes Yes Yes Yes Yes Yes
azure_rm_galleryazure_rm_gallery - - - - - Yes Yes
azure_rm_gallery_infoazure_rm_gallery_info - - - - - Yes Yes
azure_rm_galleryimageazure_rm_galleryimage - - - - - Yes Yes
azure_rm_galleryimage_infoazure_rm_galleryimage_info - - - - - Yes Yes
azure_rm_galleryimageversionazure_rm_galleryimageversion - - - - - Yes Yes
azure_rm_galleryimageversion_infoazure_rm_galleryimageversion_info - - - - - Yes Yes
azure_rm_imageazure_rm_image - Yes Yes Yes Yes Yes Yes
azure_rm_image_infoazure_rm_image_info - - - - Yes Yes Yes
azure_rm_resourceazure_rm_resource - - Yes Yes Yes Yes Yes
azure_rm_resource_infoazure_rm_resource_info - - Yes Yes Yes Yes Yes
azure_rm_resourcegroupazure_rm_resourcegroup Yes Yes Yes Yes Yes Yes Yes
azure_rm_resourcegroup_infoazure_rm_resourcegroup_info Yes Yes Yes Yes Yes Yes Yes
azure_rm_snapshotazure_rm_snapshot - - - - - Yes Yes
azure_rm_virtualmachineazure_rm_virtualmachine Yes Yes Yes Yes Yes Yes Yes
azure_rm_virtualmachine_infoazure_rm_virtualmachine_info - - - Yes Yes Yes Yes
azure_rm_virtualmachineextensionazure_rm_virtualmachineextension Yes Yes Yes Yes Yes Yes Yes
azure_rm_virtualmachineextension_infoazure_rm_virtualmachineextension_info - - - - Yes Yes Yes
azure_rm_virtualmachineimage_infoazure_rm_virtualmachineimage_info Yes Yes Yes Yes Yes Yes Yes
azure_rm_virtualmachinescalesetazure_rm_virtualmachinescaleset Yes Yes Yes Yes Yes Yes Yes
azure_rm_virtualmachinescaleset_infoazure_rm_virtualmachinescaleset_info Yes Yes Yes Yes Yes Yes Yes
azure_rm_virtualmachinescalesetextensionazure_rm_virtualmachinescalesetextension - - - - Yes Yes Yes
azure_rm_virtualmachinescalesetextension_infoazure_rm_virtualmachinescalesetextension_info - - - - Yes Yes Yes
azure_rm_virtualmachinescalesetinstanceazure_rm_virtualmachinescalesetinstance - - - - Yes Yes Yes
azure_rm_virtualmachinescalesetinstance_infoazure_rm_virtualmachinescalesetinstance_info - - - - Yes Yes Yes
RedesNetworking
azure_rm_appgatewayazure_rm_appgateway - - - Yes Yes Yes Yes
azure_rm_applicationsecuritygroupazure_rm_applicationsecuritygroup - - - - Yes Yes Yes
azure_rm_applicationsecuritygroup_infoazure_rm_applicationsecuritygroup_info - - - - Yes Yes Yes
azure_rm_cdnendpointazure_rm_cdnendpoint - - - - Yes Yes Yes
azure_rm_cdnendpoint_infoazure_rm_cdnendpoint_info - - - - Yes Yes Yes
azure_rm_cdnprofileazure_rm_cdnprofile - - - - Yes Yes Yes
azure_rm_cdnprofile_infoazure_rm_cdnprofile_info - - - - Yes Yes Yes
azure_rm_dnsrecordsetazure_rm_dnsrecordset Yes Yes Yes Yes Yes Yes Yes
azure_rm_dnsrecordset_infoazure_rm_dnsrecordset_info Yes Yes Yes Yes Yes Yes Yes
azure_rm_dnszoneazure_rm_dnszone Yes Yes Yes Yes Yes Yes Yes
azure_rm_dnszone_infoazure_rm_dnszone_info Yes Yes Yes Yes Yes Yes Yes
azure_rm_firewallazure_rm_firewall - - - - - Yes Yes
azure_rm_firewall_infoazure_rm_firewall_info - - - - - Yes Yes
azure_rm_loadbalancerazure_rm_loadbalancer Yes Yes Yes Yes Yes Yes Yes
azure_rm_loadbalancer_infoazure_rm_loadbalancer_info Yes Yes Yes Yes Yes Yes Yes
azure_rm_networkinterfaceazure_rm_networkinterface Yes Yes Yes Yes Yes Yes Yes
azure_rm_networkinterface_infoazure_rm_networkinterface_info Yes Yes Yes Yes Yes Yes Yes
azure_rm_publicipaddressazure_rm_publicipaddress Yes Yes Yes Yes Yes Yes Yes
azure_rm_publicipaddress_infoazure_rm_publicipaddress_info Yes Yes Yes Yes Yes Yes Yes
azure_rm_routeazure_rm_route - - - Yes Yes Yes Yes
azure_rm_routetableazure_rm_routetable - - - Yes Yes Yes Yes
azure_rm_routetable_infoazure_rm_routetable_info - - - Yes Yes Yes Yes
azure_rm_securitygroupazure_rm_securitygroup Yes Yes Yes Yes Yes Yes Yes
azure_rm_securitygroup_infoazure_rm_securitygroup_info - - - - - Yes Yes
azure_rm_subnetazure_rm_subnet Yes Yes Yes Yes Yes Yes Yes
azure_rm_subnet_infoazure_rm_subnet_info - - - - Yes Yes Yes
azure_rm_trafficmanagerendpointazure_rm_trafficmanagerendpoint - - - Yes Yes Yes Yes
azure_rm_trafficmanagerendpoint_infoazure_rm_trafficmanagerendpoint_info - - - Yes Yes Yes Yes
azure_rm_trafficmanagerprofileazure_rm_trafficmanagerprofile - - - Yes Yes Yes Yes
azure_rm_trafficmanagerprofile_infoazure_rm_trafficmanagerprofile_info - - - Yes Yes Yes Yes
azure_rm_virtualnetworkazure_rm_virtualnetwork Yes Yes Yes Yes Yes Yes Yes
azure_rm_virtualnetwork_infoazure_rm_virtualnetwork_info Yes Yes Yes Yes Yes Yes Yes
azure_rm_virtualnetworkgatewayazure_rm_virtualnetworkgateway - - - - Yes Yes Yes
azure_rm_virtualnetworkpeeringazure_rm_virtualnetworkpeering - - - - Yes Yes Yes
azure_rm_virtualnetworkpeering_infoazure_rm_virtualnetworkpeering_info - - - - - Yes Yes
StorageStorage
azure_rm_manageddiskazure_rm_manageddisk Yes Yes Yes Yes Yes Yes Yes
azure_rm_manageddisk_infoazure_rm_manageddisk_info Yes Yes Yes Yes Yes Yes Yes
azure_rm_storageaccountazure_rm_storageaccount Yes Yes Yes Yes Yes Yes Yes
azure_rm_storageaccount_infoazure_rm_storageaccount_info Yes Yes Yes Yes Yes Yes Yes
azure_rm_storageblobazure_rm_storageblob Yes Yes Yes Yes Yes Yes Yes
WebWeb
azure_rm_appserviceplanazure_rm_appserviceplan - - - Yes Yes Yes Yes
azure_rm_appserviceplan_infoazure_rm_appserviceplan_info - - - Yes Yes Yes Yes
azure_rm_webappazure_rm_webapp - - - Yes Yes Yes Yes
azure_rm_webapp_infoazure_rm_webapp_info - - - Yes Yes Yes Yes
azure_rm_webappslotazure_rm_webappslot - - - - Yes Yes Yes
ContenedoresContainers
azure_rm_acsazure_rm_acs Yes Yes Yes Yes Yes Yes Yes
azure_rm_aksazure_rm_aks - - Yes Yes Yes Yes Yes
azure_rm_aks_infoazure_rm_aks_info - - Yes Yes Yes Yes Yes
azure_rm_aksversion_infoazure_rm_aksversion_info - - - - Yes Yes Yes
azure_rm_containerinstanceazure_rm_containerinstance - Yes Yes Yes Yes Yes Yes
azure_rm_containerinstance_infoazure_rm_containerinstance_info - - - - Yes Yes Yes
azure_rm_containerregistryazure_rm_containerregistry - Yes Yes Yes Yes Yes Yes
azure_rm_containerregistry_infoazure_rm_containerregistry_info - - - Yes Yes Yes Yes
azure_rm_containerregistryreplicationazure_rm_containerregistryreplication - - - - - - Yes
azure_rm_containerregistryreplication_infoazure_rm_containerregistryreplication_info - - - - - - Yes
azure_rm_containerregistrywebhookazure_rm_containerregistrywebhook - - - - - - Yes
azure_rm_containerregistrywebhook_infoazure_rm_containerregistrywebhook_info - - - - - - Yes
Bases de datosDatabases
azure_rm_cosmosdbaccountazure_rm_cosmosdbaccount - - - - Yes Yes Yes
azure_rm_cosmosdbaccount_infoazure_rm_cosmosdbaccount_info - - - - Yes Yes Yes
azure_rm_mariadbconfigurationazure_rm_mariadbconfiguration - - - - Yes Yes Yes
azure_rm_mariadbconfiguration_infoazure_rm_mariadbconfiguration_info - - - - Yes Yes Yes
azure_rm_mariadbdatabaseazure_rm_mariadbdatabase - - - - Yes Yes Yes
azure_rm_mariadbdatabase_infoazure_rm_mariadbdatabase_info - - - - Yes Yes Yes
azure_rm_mariadbfirewallruleazure_rm_mariadbfirewallrule - - - - Yes Yes Yes
azure_rm_mariadbfirewallrule_infoazure_rm_mariadbfirewallrule_info - - - - Yes Yes Yes
azure_rm_mariadbserverazure_rm_mariadbserver - - - - Yes Yes Yes
azure_rm_mariadbserver_infoazure_rm_mariadbserver_info - - - - Yes Yes Yes
azure_rm_mysqlconfigurationazure_rm_mysqlconfiguration - - - - Yes Yes Yes
azure_rm_mysqlconfiguration_infoazure_rm_mysqlconfiguration_info - - - - Yes Yes Yes
azure_rm_mysqldatabaseazure_rm_mysqldatabase - Yes Yes Yes Yes Yes Yes
azure_rm_mysqldatabase_infoazure_rm_mysqldatabase_info - - - Yes Yes Yes Yes
azure_rm_mysqlfirewallruleazure_rm_mysqlfirewallrule - - - - Yes Yes Yes
azure_rm_mysqlfirewallrule_infoazure_rm_mysqlfirewallrule_info - - - - Yes Yes Yes
azure_rm_mysqlserverazure_rm_mysqlserver - Yes Yes Yes Yes Yes Yes
azure_rm_mysqlserver_infoazure_rm_mysqlserver_info - - - Yes Yes Yes Yes
azure_rm_postgresqlconfigurationazure_rm_postgresqlconfiguration - - - - Yes Yes Yes
azure_rm_postgresqlconfiguration_infoazure_rm_postgresqlconfiguration_info - - - - Yes Yes Yes
azure_rm_postgresqldatabaseazure_rm_postgresqldatabase - Yes Yes Yes Yes Yes Yes
azure_rm_postgresqldatabase_infoazure_rm_postgresqldatabase_info - - - Yes Yes Yes Yes
azure_rm_postgresqlfirewallruleazure_rm_postgresqlfirewallrule - - - - Yes Yes Yes
azure_rm_postgresqlfirewallrule_infoazure_rm_postgresqlfirewallrule_info - - - - Yes Yes Yes
azure_rm_postgresqlserverazure_rm_postgresqlserver - Yes Yes Yes Yes Yes Yes
azure_rm_postgresqlserver_infoazure_rm_postgresqlserver_info - - - Yes Yes Yes Yes
azure_rm_rediscacheazure_rm_rediscache - - - - Yes Yes Yes
azure_rm_rediscache_infoazure_rm_rediscache_info - - - - Yes Yes Yes
azure_rm_rediscachefirewallruleazure_rm_rediscachefirewallrule - - - - Yes Yes Yes
azure_rm_sqldatabaseazure_rm_sqldatabase - Yes Yes Yes Yes Yes Yes
azure_rm_sqldatabase_infoazure_rm_sqldatabase_info - - - - Yes Yes Yes
azure_rm_sqlelasticpoolazure_rm_sqlelasticpool - - - - - - Yes
azure_rm_sqlelasticpool_infoazure_rm_sqlelasticpool_info - - - - - - Yes
azure_rm_sqlfirewallruleazure_rm_sqlfirewallrule - - - Yes Yes Yes Yes
azure_rm_sqlfirewallrule_infoazure_rm_sqlfirewallrule_info - - - - Yes Yes Yes
azure_rm_sqlserverazure_rm_sqlserver - Yes Yes Yes Yes Yes Yes
azure_rm_sqlserver_infoazure_rm_sqlserver_info - Yes Yes Yes Yes Yes Yes
AnalyticsAnalytics
azure_rm_hdinsightclusterazure_rm_hdinsightcluster - - - - Yes Yes Yes
azure_rm_hdinsightcluster_infoazure_rm_hdinsightcluster_info - - - - - Yes Yes
IntegraciónIntegration
azure_rm_servicebusazure_rm_servicebus - - - - Yes Yes Yes
azure_rm_servicebus_infoazure_rm_servicebus_info - - - - Yes Yes Yes
azure_rm_servicebusqueueazure_rm_servicebusqueue - - - - Yes Yes Yes
azure_rm_servicebussaspolicyazure_rm_servicebussaspolicy - - - - Yes Yes Yes
azure_rm_servicebustopicazure_rm_servicebustopic - - - - Yes Yes Yes
azure_rm_servicebustopicsubscriptionazure_rm_servicebustopicsubscription - - - - Yes Yes Yes
SeguridadSecurity
azure_rm_keyvaultazure_rm_keyvault - Yes Yes Yes Yes Yes Yes
azure_rm_keyvault_infoazure_rm_keyvault_info - - - - Yes Yes Yes
azure_rm_keyvaultkeyazure_rm_keyvaultkey - Yes Yes Yes Yes Yes Yes
azure_rm_keyvaultkey_infoazure_rm_keyvaultkey_info - - - - - Yes Yes
azure_rm_keyvaultsecretazure_rm_keyvaultsecret - Yes Yes Yes Yes Yes Yes
azure_rm_roleassignmentazure_rm_roleassignment - - - - Yes Yes Yes
azure_rm_roleassignment_infoazure_rm_roleassignment_info - - - - Yes Yes Yes
azure_rm_roledefinitionazure_rm_roledefinition - - - - Yes Yes Yes
azure_rm_roledefinition_infoazure_rm_roledefinition_info - - - - Yes Yes Yes
DevOpsDevOps
azure_rm_devtestlabazure_rm_devtestlab - - - - Yes Yes Yes
azure_rm_devtestlab_infoazure_rm_devtestlab_info - - - - Yes Yes Yes
azure_rm_devtestlabarmtemplate_infoazure_rm_devtestlabarmtemplate_info - - - - Yes Yes Yes
azure_rm_devtestlabartifact_infoazure_rm_devtestlabartifact_info - - - - Yes Yes Yes
azure_rm_devtestlabartifactsourceazure_rm_devtestlabartifactsource - - - - Yes Yes Yes
azure_rm_devtestlabartifactsource_infoazure_rm_devtestlabartifactsource_info - - - - Yes Yes Yes
azure_rm_devtestlabcustomimageazure_rm_devtestlabcustomimage - - - - Yes Yes Yes
azure_rm_devtestlabcustomimage_infoazure_rm_devtestlabcustomimage_info - - - - - Yes Yes
azure_rm_devtestlabenvironmentazure_rm_devtestlabenvironment - - - - Yes Yes Yes
azure_rm_devtestlabenvironment_infoazure_rm_devtestlabenvironment_info - - - - - Yes Yes
azure_rm_devtestlabpolicyazure_rm_devtestlabpolicy - - - - Yes Yes Yes
azure_rm_devtestlabpolicy_infoazure_rm_devtestlabpolicy_info - - - - - Yes Yes
azure_rm_devtestlabscheduleazure_rm_devtestlabschedule - - - - Yes Yes Yes
azure_rm_devtestlabschedule_infoazure_rm_devtestlabschedule_info - - - - - Yes Yes
azure_rm_devtestlabvirtualmachineazure_rm_devtestlabvirtualmachine - - - - Yes Yes Yes
azure_rm_devtestlabvirtualmachine_infoazure_rm_devtestlabvirtualmachine_info - - - - Yes Yes Yes
azure_rm_devtestlabvirtualnetworkazure_rm_devtestlabvirtualnetwork - - - - Yes Yes Yes
azure_rm_devtestlabvirtualnetwork_infoazure_rm_devtestlabvirtualnetwork_info - - - - Yes Yes Yes
Azure MonitorAzure Monitor
azure_rm_autoscaleazure_rm_autoscale - - - Yes Yes Yes Yes
azure_rm_autoscale_infoazure_rm_autoscale_info - - - Yes Yes Yes Yes
azure_rm_loganalyticsworkspaceazure_rm_loganalyticsworkspace - - - - Yes Yes Yes
azure_rm_loganalyticsworkspace_infoazure_rm_loganalyticsworkspace_info - - - - Yes Yes Yes
azure_rm_monitorlogprofileazure_rm_monitorlogprofile - - - - - Yes Yes
Administración y gobernanzaManagement and Governance
azure_rm_automationaccountazure_rm_automationaccount - - - - - Yes Yes
azure_rm_automationaccount_infoazure_rm_automationaccount_info - - - - - Yes Yes
azure_rm_lockazure_rm_lock - - - - - Yes Yes
azure_rm_lock_infoazure_rm_lock_info - - - - - Yes Yes
Internet de las cosasInternet of Things
azure_rm_iotdeviceazure_rm_iotdevice - - - - - Yes Yes
azure_rm_iotdevice_infoazure_rm_iotdevice_info - - - - - Yes Yes
azure_rm_iotdevicemoduleazure_rm_iotdevicemodule - - - - - Yes Yes
azure_rm_iothub_infoazure_rm_iothub_info - - - - - Yes Yes
azure_rm_iothub_infoazure_rm_iothub_info - - - - - Yes Yes
azure_rm_iothubconsumergroupazure_rm_iothubconsumergroup - - - - - 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.