From bc95720780f21b2230950ce4b4f35a08b3603a60 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 26 Mar 2019 20:30:16 -0400 Subject: [PATCH] renaming facts to info (#54432) (cherry picked from commit c5edffcdb8042f041eee41e2f11ccd2e4567e3ee) --- ...b_facts.py => azure_rm_devtestlab_info.py} | 8 +++---- ...=> azure_rm_devtestlabarmtemplate_info.py} | 4 ++-- ...py => azure_rm_devtestlabartifact_info.py} | 4 ++-- ...azure_rm_devtestlabartifactsource_info.py} | 4 ++-- ...azure_rm_devtestlabvirtualmachine_info.py} | 4 ++-- ...azure_rm_devtestlabvirtualnetwork_info.py} | 6 ++--- ... => azure_rm_mariadbconfiguration_info.py} | 6 ++--- ...ts.py => azure_rm_mariadbdatabase_info.py} | 6 ++--- ...y => azure_rm_mariadbfirewallrule_info.py} | 6 ++--- ...acts.py => azure_rm_mariadbserver_info.py} | 6 ++--- ...py => azure_rm_mysqlconfiguration_info.py} | 6 ++--- ....py => azure_rm_mysqlfirewallrule_info.py} | 6 ++--- ... azure_rm_postgresqlconfiguration_info.py} | 6 ++--- ...> azure_rm_postgresqlfirewallrule_info.py} | 6 ++--- ..._facts.py => azure_rm_sqldatabase_info.py} | 8 +++---- ...ts.py => azure_rm_sqlfirewallrule_info.py} | 6 ++--- ... azure_rm_virtualmachineextension_info.py} | 6 ++--- ...m_virtualmachinescalesetextension_info.py} | 6 ++--- ...rm_virtualmachinescalesetinstance_info.py} | 2 +- .../azure_rm_devtestlab/tasks/main.yml | 24 +++++++++---------- .../targets/azure_rm_mariadbserver/aliases | 6 ++--- .../azure_rm_mariadbserver/tasks/main.yml | 22 ++++++++--------- .../targets/azure_rm_mysqlserver/aliases | 3 +++ .../azure_rm_mysqlserver/tasks/main.yml | 12 +++++----- .../targets/azure_rm_postgresqlserver/aliases | 5 ++-- .../azure_rm_postgresqlserver/tasks/main.yml | 10 ++++---- .../targets/azure_rm_sqlserver/aliases | 4 ++-- .../targets/azure_rm_sqlserver/tasks/main.yml | 14 +++++------ .../tasks/main.yml | 4 ++-- .../tasks/main.yml | 6 ++--- 30 files changed, 110 insertions(+), 106 deletions(-) rename lib/ansible/modules/cloud/azure/{azure_rm_devtestlab_facts.py => azure_rm_devtestlab_info.py} (98%) rename lib/ansible/modules/cloud/azure/{azure_rm_devtestlabarmtemplate_facts.py => azure_rm_devtestlabarmtemplate_info.py} (98%) rename lib/ansible/modules/cloud/azure/{azure_rm_devtestlabartifact_facts.py => azure_rm_devtestlabartifact_info.py} (98%) rename lib/ansible/modules/cloud/azure/{azure_rm_devtestlabartifactsource_facts.py => azure_rm_devtestlabartifactsource_info.py} (98%) rename lib/ansible/modules/cloud/azure/{azure_rm_devtestlabvirtualmachine_facts.py => azure_rm_devtestlabvirtualmachine_info.py} (99%) rename lib/ansible/modules/cloud/azure/{azure_rm_devtestlabvirtualnetwork_facts.py => azure_rm_devtestlabvirtualnetwork_info.py} (97%) rename lib/ansible/modules/cloud/azure/{azure_rm_mariadbconfiguration_facts.py => azure_rm_mariadbconfiguration_info.py} (98%) rename lib/ansible/modules/cloud/azure/{azure_rm_mariadbdatabase_facts.py => azure_rm_mariadbdatabase_info.py} (98%) rename lib/ansible/modules/cloud/azure/{azure_rm_mariadbfirewallrule_facts.py => azure_rm_mariadbfirewallrule_info.py} (97%) rename lib/ansible/modules/cloud/azure/{azure_rm_mariadbserver_facts.py => azure_rm_mariadbserver_info.py} (98%) rename lib/ansible/modules/cloud/azure/{azure_rm_mysqlconfiguration_facts.py => azure_rm_mysqlconfiguration_info.py} (98%) rename lib/ansible/modules/cloud/azure/{azure_rm_mysqlfirewallrule_facts.py => azure_rm_mysqlfirewallrule_info.py} (98%) rename lib/ansible/modules/cloud/azure/{azure_rm_postgresqlconfiguration_facts.py => azure_rm_postgresqlconfiguration_info.py} (97%) rename lib/ansible/modules/cloud/azure/{azure_rm_postgresqlfirewallrule_facts.py => azure_rm_postgresqlfirewallrule_info.py} (97%) rename lib/ansible/modules/cloud/azure/{azure_rm_sqldatabase_facts.py => azure_rm_sqldatabase_info.py} (98%) rename lib/ansible/modules/cloud/azure/{azure_rm_sqlfirewallrule_facts.py => azure_rm_sqlfirewallrule_info.py} (98%) rename lib/ansible/modules/cloud/azure/{azure_rm_virtualmachineextension_facts.py => azure_rm_virtualmachineextension_info.py} (98%) rename lib/ansible/modules/cloud/azure/{azure_rm_virtualmachinescalesetextension_facts.py => azure_rm_virtualmachinescalesetextension_info.py} (97%) rename lib/ansible/modules/cloud/azure/{azure_rm_virtualmachinescalesetinstance_facts.py => azure_rm_virtualmachinescalesetinstance_info.py} (99%) diff --git a/lib/ansible/modules/cloud/azure/azure_rm_devtestlab_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_devtestlab_info.py similarity index 98% rename from lib/ansible/modules/cloud/azure/azure_rm_devtestlab_facts.py rename to lib/ansible/modules/cloud/azure/azure_rm_devtestlab_info.py index a19f1da18e9..8cd07ea4b1f 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_devtestlab_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_devtestlab_info.py @@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = ''' --- -module: azure_rm_devtestlab_facts +module: azure_rm_devtestlab_info version_added: "2.8" short_description: Get Azure DevTest Lab facts. description: @@ -41,14 +41,14 @@ author: EXAMPLES = ''' - name: List instances of DevTest Lab by resource group - azure_rm_devtestlab_facts: + azure_rm_devtestlab_info: resource_group: testrg - name: List instances of DevTest Lab in subscription - azure_rm_devtestlab_facts: + azure_rm_devtestlab_info: - name: Get instance of DevTest Lab - azure_rm_devtestlab_facts: + azure_rm_devtestlab_info: resource_group: testrg name: testlab ''' diff --git a/lib/ansible/modules/cloud/azure/azure_rm_devtestlabarmtemplate_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_devtestlabarmtemplate_info.py similarity index 98% rename from lib/ansible/modules/cloud/azure/azure_rm_devtestlabarmtemplate_facts.py rename to lib/ansible/modules/cloud/azure/azure_rm_devtestlabarmtemplate_info.py index 81698ccdd32..e98ea5da8d2 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_devtestlabarmtemplate_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_devtestlabarmtemplate_info.py @@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = ''' --- -module: azure_rm_devtestlabarmtemplate_facts +module: azure_rm_devtestlabarmtemplate_info version_added: "2.8" short_description: Get Azure DevTest Lab ARM Template facts. description: @@ -48,7 +48,7 @@ author: EXAMPLES = ''' - name: Get information on DevTest Lab ARM Template - azure_rm_devtestlabarmtemplate_facts: + azure_rm_devtestlabarmtemplate_info: resource_group: myResourceGroup lab_name: myLab artifact_source_name: public environment repo diff --git a/lib/ansible/modules/cloud/azure/azure_rm_devtestlabartifact_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_devtestlabartifact_info.py similarity index 98% rename from lib/ansible/modules/cloud/azure/azure_rm_devtestlabartifact_facts.py rename to lib/ansible/modules/cloud/azure/azure_rm_devtestlabartifact_info.py index f28dcbaea41..64c54a93e2d 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_devtestlabartifact_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_devtestlabartifact_info.py @@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = ''' --- -module: azure_rm_devtestlabartifact_facts +module: azure_rm_devtestlabartifact_info version_added: "2.8" short_description: Get Azure DevTest Lab Artifact facts. description: @@ -48,7 +48,7 @@ author: EXAMPLES = ''' - name: Get instance of DevTest Lab Artifact - azure_rm_devtestlabartifact_facts: + azure_rm_devtestlabartifact_info: resource_group: myResourceGroup lab_name: myLab artifact_source_name: myArtifactSource diff --git a/lib/ansible/modules/cloud/azure/azure_rm_devtestlabartifactsource_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_devtestlabartifactsource_info.py similarity index 98% rename from lib/ansible/modules/cloud/azure/azure_rm_devtestlabartifactsource_facts.py rename to lib/ansible/modules/cloud/azure/azure_rm_devtestlabartifactsource_info.py index 5fad2de3f62..0f46c948bb3 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_devtestlabartifactsource_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_devtestlabartifactsource_info.py @@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = ''' --- -module: azure_rm_devtestlabartifactsource_facts +module: azure_rm_devtestlabartifactsource_info version_added: "2.8" short_description: Get Azure DevTest Lab Artifact Source facts. description: @@ -47,7 +47,7 @@ author: EXAMPLES = ''' - name: Get instance of DevTest Lab Artifact Source - azure_rm_devtestlabartifactsource_facts: + azure_rm_devtestlabartifactsource_info: resource_group: myResourceGroup lab_name: myLab name: myArtifactSource diff --git a/lib/ansible/modules/cloud/azure/azure_rm_devtestlabvirtualmachine_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_devtestlabvirtualmachine_info.py similarity index 99% rename from lib/ansible/modules/cloud/azure/azure_rm_devtestlabvirtualmachine_facts.py rename to lib/ansible/modules/cloud/azure/azure_rm_devtestlabvirtualmachine_info.py index 450ff459f66..21a7af2baa0 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_devtestlabvirtualmachine_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_devtestlabvirtualmachine_info.py @@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = ''' --- -module: azure_rm_devtestlabvirtualmachine_facts +module: azure_rm_devtestlabvirtualmachine_info version_added: "2.8" short_description: Get Azure DevTest Lab Virtual Machine facts. description: @@ -47,7 +47,7 @@ author: EXAMPLES = ''' - name: Get instance of DTL Virtual Machine - azure_rm_devtestlabvirtualmachine_facts: + azure_rm_devtestlabvirtualmachine_info: resource_group: myResourceGroup lab_name: myLab name: myVm diff --git a/lib/ansible/modules/cloud/azure/azure_rm_devtestlabvirtualnetwork_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_devtestlabvirtualnetwork_info.py similarity index 97% rename from lib/ansible/modules/cloud/azure/azure_rm_devtestlabvirtualnetwork_facts.py rename to lib/ansible/modules/cloud/azure/azure_rm_devtestlabvirtualnetwork_info.py index 2a630f0280c..d0f03205a22 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_devtestlabvirtualnetwork_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_devtestlabvirtualnetwork_info.py @@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = ''' --- -module: azure_rm_devtestlabvirtualnetwork_facts +module: azure_rm_devtestlabvirtualnetwork_info version_added: "2.8" short_description: Get Azure DevTest Lab Virtual Network facts. description: @@ -44,13 +44,13 @@ author: EXAMPLES = ''' - name: Get instance of DevTest Lab Virtual Network - azure_rm_devtestlabvirtualnetwork_facts: + azure_rm_devtestlabvirtualnetwork_info: resource_group: myResourceGroup lab_name: myLab name: myVirtualNetwork - name: List all Virtual Networks in DevTest Lab - azure_rm_devtestlabvirtualnetwork_facts: + azure_rm_devtestlabvirtualnetwork_info: resource_group: myResourceGroup lab_name: myLab name: myVirtualNetwork diff --git a/lib/ansible/modules/cloud/azure/azure_rm_mariadbconfiguration_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_mariadbconfiguration_info.py similarity index 98% rename from lib/ansible/modules/cloud/azure/azure_rm_mariadbconfiguration_facts.py rename to lib/ansible/modules/cloud/azure/azure_rm_mariadbconfiguration_info.py index fd49a964c02..9bb657325e4 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_mariadbconfiguration_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_mariadbconfiguration_info.py @@ -16,7 +16,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = ''' --- -module: azure_rm_mariadbconfiguration_facts +module: azure_rm_mariadbconfiguration_info version_added: "2.8" short_description: Get Azure MariaDB Configuration facts. description: @@ -46,13 +46,13 @@ author: EXAMPLES = ''' - name: Get specific setting of MariaDB Server - azure_rm_mariadbconfiguration_facts: + azure_rm_mariadbconfiguration_info: resource_group: myResourceGroup server_name: testserver name: deadlock_timeout - name: Get all settings of MariaDB Server - azure_rm_mariadbconfiguration_facts: + azure_rm_mariadbconfiguration_info: resource_group: myResourceGroup server_name: server_name ''' diff --git a/lib/ansible/modules/cloud/azure/azure_rm_mariadbdatabase_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_mariadbdatabase_info.py similarity index 98% rename from lib/ansible/modules/cloud/azure/azure_rm_mariadbdatabase_facts.py rename to lib/ansible/modules/cloud/azure/azure_rm_mariadbdatabase_info.py index 7a66e68e97f..dd9864b3838 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_mariadbdatabase_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_mariadbdatabase_info.py @@ -16,7 +16,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = ''' --- -module: azure_rm_mariadbdatabase_facts +module: azure_rm_mariadbdatabase_info version_added: "2.8" short_description: Get Azure MariaDB Database facts. description: @@ -46,13 +46,13 @@ author: EXAMPLES = ''' - name: Get instance of MariaDB Database - azure_rm_mariadbdatabase_facts: + azure_rm_mariadbdatabase_info: resource_group: myResourceGroup server_name: server_name name: database_name - name: List instances of MariaDB Database - azure_rm_mariadbdatabase_facts: + azure_rm_mariadbdatabase_info: resource_group: myResourceGroup server_name: server_name ''' diff --git a/lib/ansible/modules/cloud/azure/azure_rm_mariadbfirewallrule_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_mariadbfirewallrule_info.py similarity index 97% rename from lib/ansible/modules/cloud/azure/azure_rm_mariadbfirewallrule_facts.py rename to lib/ansible/modules/cloud/azure/azure_rm_mariadbfirewallrule_info.py index f4464179ced..d7c0d8fb982 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_mariadbfirewallrule_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_mariadbfirewallrule_info.py @@ -16,7 +16,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = ''' --- -module: azure_rm_mariadbfirewallrule_facts +module: azure_rm_mariadbfirewallrule_info version_added: "2.8" short_description: Get Azure MariaDB Firewall Rule facts. description: @@ -46,13 +46,13 @@ author: EXAMPLES = ''' - name: Get instance of MariaDB Firewall Rule - azure_rm_mariadbfirewallrule_facts: + azure_rm_mariadbfirewallrule_info: resource_group: myResourceGroup server_name: server_name name: firewall_rule_name - name: List instances of MariaDB Firewall Rule - azure_rm_mariadbfirewallrule_facts: + azure_rm_mariadbfirewallrule_info: resource_group: myResourceGroup server_name: server_name ''' diff --git a/lib/ansible/modules/cloud/azure/azure_rm_mariadbserver_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_mariadbserver_info.py similarity index 98% rename from lib/ansible/modules/cloud/azure/azure_rm_mariadbserver_facts.py rename to lib/ansible/modules/cloud/azure/azure_rm_mariadbserver_info.py index 81a451872d8..7c9d26b321b 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_mariadbserver_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_mariadbserver_info.py @@ -16,7 +16,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = ''' --- -module: azure_rm_mariadbserver_facts +module: azure_rm_mariadbserver_info version_added: "2.8" short_description: Get Azure MariaDB Server facts. description: @@ -45,12 +45,12 @@ author: EXAMPLES = ''' - name: Get instance of MariaDB Server - azure_rm_mariadbserver_facts: + azure_rm_mariadbserver_info: resource_group: myResourceGroup name: server_name - name: List instances of MariaDB Server - azure_rm_mariadbserver_facts: + azure_rm_mariadbserver_info: resource_group: myResourceGroup ''' diff --git a/lib/ansible/modules/cloud/azure/azure_rm_mysqlconfiguration_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_mysqlconfiguration_info.py similarity index 98% rename from lib/ansible/modules/cloud/azure/azure_rm_mysqlconfiguration_facts.py rename to lib/ansible/modules/cloud/azure/azure_rm_mysqlconfiguration_info.py index 772f07dd4e7..55e6fa43c72 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_mysqlconfiguration_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_mysqlconfiguration_info.py @@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = ''' --- -module: azure_rm_mysqlconfiguration_facts +module: azure_rm_mysqlconfiguration_info version_added: "2.8" short_description: Get Azure MySQL Configuration facts. description: @@ -44,13 +44,13 @@ author: EXAMPLES = ''' - name: Get specific setting of MySQL Server - azure_rm_mysqlconfiguration_facts: + azure_rm_mysqlconfiguration_info: resource_group: myResourceGroup server_name: testmysqlserver name: deadlock_timeout - name: Get all settings of MySQL Server - azure_rm_mysqlconfiguration_facts: + azure_rm_mysqlconfiguration_info: resource_group: myResourceGroup server_name: server_name ''' diff --git a/lib/ansible/modules/cloud/azure/azure_rm_mysqlfirewallrule_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_mysqlfirewallrule_info.py similarity index 98% rename from lib/ansible/modules/cloud/azure/azure_rm_mysqlfirewallrule_facts.py rename to lib/ansible/modules/cloud/azure/azure_rm_mysqlfirewallrule_info.py index c47b5213ce3..65c59dbe033 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_mysqlfirewallrule_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_mysqlfirewallrule_info.py @@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = ''' --- -module: azure_rm_mysqlfirewallrule_facts +module: azure_rm_mysqlfirewallrule_info version_added: "2.8" short_description: Get Azure MySQL Firewall Rule facts. description: @@ -44,13 +44,13 @@ author: EXAMPLES = ''' - name: Get instance of MySQL Firewall Rule - azure_rm_mysqlfirewallrule_facts: + azure_rm_mysqlfirewallrule_info: resource_group: myResourceGroup server_name: server_name name: firewall_rule_name - name: List instances of MySQL Firewall Rule - azure_rm_mysqlfirewallrule_facts: + azure_rm_mysqlfirewallrule_info: resource_group: myResourceGroup server_name: server_name ''' diff --git a/lib/ansible/modules/cloud/azure/azure_rm_postgresqlconfiguration_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_postgresqlconfiguration_info.py similarity index 97% rename from lib/ansible/modules/cloud/azure/azure_rm_postgresqlconfiguration_facts.py rename to lib/ansible/modules/cloud/azure/azure_rm_postgresqlconfiguration_info.py index a7a1933b883..10e9daeb639 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_postgresqlconfiguration_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_postgresqlconfiguration_info.py @@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = ''' --- -module: azure_rm_postgresqlconfiguration_facts +module: azure_rm_postgresqlconfiguration_info version_added: "2.8" short_description: Get Azure PostgreSQL Configuration facts. description: @@ -44,13 +44,13 @@ author: EXAMPLES = ''' - name: Get specific setting of PostgreSQL configuration - azure_rm_postgresqlconfiguration_facts: + azure_rm_postgresqlconfiguration_info: resource_group: myResourceGroup server_name: testpostgresqlserver name: deadlock_timeout - name: Get all settings of PostgreSQL Configuration - azure_rm_postgresqlconfiguration_facts: + azure_rm_postgresqlconfiguration_info: resource_group: myResourceGroup server_name: testpostgresqlserver ''' diff --git a/lib/ansible/modules/cloud/azure/azure_rm_postgresqlfirewallrule_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_postgresqlfirewallrule_info.py similarity index 97% rename from lib/ansible/modules/cloud/azure/azure_rm_postgresqlfirewallrule_facts.py rename to lib/ansible/modules/cloud/azure/azure_rm_postgresqlfirewallrule_info.py index 04f33c8fc48..5e20b211efb 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_postgresqlfirewallrule_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_postgresqlfirewallrule_info.py @@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = ''' --- -module: azure_rm_postgresqlfirewallrule_facts +module: azure_rm_postgresqlfirewallrule_info version_added: "2.8" short_description: Get Azure PostgreSQL Firewall Rule facts. description: @@ -44,13 +44,13 @@ author: EXAMPLES = ''' - name: Get instance of PostgreSQL Firewall Rule - azure_rm_postgresqlfirewallrule_facts: + azure_rm_postgresqlfirewallrule_info: resource_group: myResourceGroup server_name: server_name name: firewall_rule_name - name: List instances of PostgreSQL Firewall Rule - azure_rm_postgresqlfirewallrule_facts: + azure_rm_postgresqlfirewallrule_info: resource_group: myResourceGroup server_name: server_name ''' diff --git a/lib/ansible/modules/cloud/azure/azure_rm_sqldatabase_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_sqldatabase_info.py similarity index 98% rename from lib/ansible/modules/cloud/azure/azure_rm_sqldatabase_facts.py rename to lib/ansible/modules/cloud/azure/azure_rm_sqldatabase_info.py index f281870e3c8..ed72d0fe7c7 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_sqldatabase_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_sqldatabase_info.py @@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = ''' --- -module: azure_rm_sqldatabase_facts +module: azure_rm_sqldatabase_info version_added: "2.8" short_description: Get Azure SQL Database facts. description: @@ -50,19 +50,19 @@ author: EXAMPLES = ''' - name: Get instance of SQL Database - azure_rm_sqldatabase_facts: + azure_rm_sqldatabase_info: resource_group: testrg server_name: testserver name: testdb - name: List instances of SQL Database - azure_rm_sqldatabase_facts: + azure_rm_sqldatabase_info: resource_group: testrg server_name: testserver elastic_pool_name: testep - name: List instances of SQL Database - azure_rm_sqldatabase_facts: + azure_rm_sqldatabase_info: resource_group: testrg server_name: testserver ''' diff --git a/lib/ansible/modules/cloud/azure/azure_rm_sqlfirewallrule_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_sqlfirewallrule_info.py similarity index 98% rename from lib/ansible/modules/cloud/azure/azure_rm_sqlfirewallrule_facts.py rename to lib/ansible/modules/cloud/azure/azure_rm_sqlfirewallrule_info.py index be79e642eab..28114a60c10 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_sqlfirewallrule_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_sqlfirewallrule_info.py @@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = ''' --- -module: azure_rm_sqlfirewallrule_facts +module: azure_rm_sqlfirewallrule_info version_added: "2.8" short_description: Get Azure SQL Firewall Rule facts. description: @@ -44,13 +44,13 @@ author: EXAMPLES = ''' - name: Get instance of SQL Firewall Rule - azure_rm_sqlfirewallrule_facts: + azure_rm_sqlfirewallrule_info: resource_group: myResourceGroup server_name: testserver name: testrule - name: List instances of SQL Firewall Rule - azure_rm_sqlfirewallrule_facts: + azure_rm_sqlfirewallrule_info: resource_group: myResourceGroup server_name: testserver ''' diff --git a/lib/ansible/modules/cloud/azure/azure_rm_virtualmachineextension_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_virtualmachineextension_info.py similarity index 98% rename from lib/ansible/modules/cloud/azure/azure_rm_virtualmachineextension_facts.py rename to lib/ansible/modules/cloud/azure/azure_rm_virtualmachineextension_info.py index c6e3e40679c..1dc0caf88a7 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_virtualmachineextension_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_virtualmachineextension_info.py @@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = ''' --- -module: azure_rm_virtualmachineextension_facts +module: azure_rm_virtualmachineextension_info version_added: "2.8" short_description: Get Azure Virtual Machine Extension facts. description: @@ -47,13 +47,13 @@ author: EXAMPLES = ''' - name: Get information on specific Virtual Machine Extension - azure_rm_virtualmachineextension_facts: + azure_rm_virtualmachineextension_info: resource_group: myResourceGroup virtual_machine_name: myvm name: myextension - name: List installed Virtual Machine Extensions - azure_rm_virtualmachineextension_facts: + azure_rm_virtualmachineextension_info: resource_group: myResourceGroup virtual_machine_name: myvm ''' diff --git a/lib/ansible/modules/cloud/azure/azure_rm_virtualmachinescalesetextension_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_virtualmachinescalesetextension_info.py similarity index 97% rename from lib/ansible/modules/cloud/azure/azure_rm_virtualmachinescalesetextension_facts.py rename to lib/ansible/modules/cloud/azure/azure_rm_virtualmachinescalesetextension_info.py index 957e1ea664a..a10b046939e 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_virtualmachinescalesetextension_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_virtualmachinescalesetextension_info.py @@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = ''' --- -module: azure_rm_virtualmachinescalesetextension_facts +module: azure_rm_virtualmachinescalesetextension_info version_added: "2.8" short_description: Get Azure Virtual Machine Scale Set Extension facts. description: @@ -44,13 +44,13 @@ author: EXAMPLES = ''' - name: Get information on specific Virtual Machine Scale Set Extension - azure_rm_virtualmachineextension_facts: + azure_rm_virtualmachineextension_info: resource_group: myResourceGroup vmss_name: myvmss name: myextension - name: List installed Virtual Machine Scale Set Extensions - azure_rm_virtualmachineextension_facts: + azure_rm_virtualmachineextension_info: resource_group: myrg vmss_name: myvmss ''' diff --git a/lib/ansible/modules/cloud/azure/azure_rm_virtualmachinescalesetinstance_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_virtualmachinescalesetinstance_info.py similarity index 99% rename from lib/ansible/modules/cloud/azure/azure_rm_virtualmachinescalesetinstance_facts.py rename to lib/ansible/modules/cloud/azure/azure_rm_virtualmachinescalesetinstance_info.py index fdb92e355a9..e9e7c37e670 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_virtualmachinescalesetinstance_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_virtualmachinescalesetinstance_info.py @@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = ''' --- -module: azure_rm_virtualmachinescalesetinstance_facts +module: azure_rm_virtualmachinescalesetinstance_info version_added: "2.8" short_description: Get Azure Virtual Machine Scale Set Instance facts. description: diff --git a/test/integration/targets/azure_rm_devtestlab/tasks/main.yml b/test/integration/targets/azure_rm_devtestlab/tasks/main.yml index c29ab229801..5d6b4645522 100644 --- a/test/integration/targets/azure_rm_devtestlab/tasks/main.yml +++ b/test/integration/targets/azure_rm_devtestlab/tasks/main.yml @@ -61,7 +61,7 @@ - output.changed - name: List DevTest Lab in a resource group - azure_rm_devtestlab_facts: + azure_rm_devtestlab_info: resource_group: "{{ resource_group }}" register: output_lab - name: Assert that facts are returned @@ -78,7 +78,7 @@ - output_lab.labs[0]['vault_name'] != None - name: Get DevTest Lab facts - azure_rm_devtestlab_facts: + azure_rm_devtestlab_info: resource_group: "{{ resource_group }}" name: "{{ lab_name }}" register: output_lab @@ -263,7 +263,7 @@ - output.changed - name: Get DevTest Lab Virtual Network facts - azure_rm_devtestlabvirtualnetwork_facts: + azure_rm_devtestlabvirtualnetwork_info: resource_group: "{{ resource_group }}" lab_name: "{{ lab_name }}" name: "{{ vn_name }}" @@ -281,7 +281,7 @@ - output.virtualnetworks[0]['provisioning_state'] != None - name: List all Virtual Networks in DevTest Lab - azure_rm_devtestlabvirtualnetwork_facts: + azure_rm_devtestlabvirtualnetwork_info: resource_group: "{{ resource_group }}" lab_name: "{{ lab_name }}" register: output @@ -458,7 +458,7 @@ when: "github_token | length > 0" - name: Get Facts of DTL Virtual Machine - azure_rm_devtestlabvirtualmachine_facts: + azure_rm_devtestlabvirtualmachine_info: resource_group: "{{ resource_group }}" lab_name: "{{ lab_name }}" name: "{{ vm_name }}" @@ -488,7 +488,7 @@ when: "github_token | length > 0" - name: List Facts of DTL Virtual Machine - azure_rm_devtestlabvirtualmachine_facts: + azure_rm_devtestlabvirtualmachine_info: resource_group: "{{ resource_group }}" lab_name: "{{ lab_name }}" register: output_vm @@ -516,7 +516,7 @@ - name: List all artifact sources - azure_rm_devtestlabartifactsource_facts: + azure_rm_devtestlabartifactsource_info: resource_group: "{{ resource_group }}" lab_name: "{{ lab_name }}" register: output @@ -537,7 +537,7 @@ - output.artifactsources | length >= 2 - name: Get artifacts source facts - azure_rm_devtestlabartifactsource_facts: + azure_rm_devtestlabartifactsource_info: resource_group: "{{ resource_group }}" lab_name: "{{ lab_name }}" name: public repo @@ -572,7 +572,7 @@ when: "github_token | length > 0" - name: List ARM Template facts - azure_rm_devtestlabarmtemplate_facts: + azure_rm_devtestlabarmtemplate_info: resource_group: "{{ resource_group }}" lab_name: "{{ lab_name }}" artifact_source_name: "public environment repo" @@ -591,7 +591,7 @@ - "output.armtemplates | length > 1" - name: Get ARM Template facts - azure_rm_devtestlabarmtemplate_facts: + azure_rm_devtestlabarmtemplate_info: resource_group: "{{ resource_group }}" lab_name: "{{ lab_name }}" artifact_source_name: "public environment repo" @@ -613,7 +613,7 @@ - name: Get Artifact facts - azure_rm_devtestlabartifact_facts: + azure_rm_devtestlabartifact_info: resource_group: "{{ resource_group }}" lab_name: "{{ lab_name }}" artifact_source_name: "public repo" @@ -635,7 +635,7 @@ - "output.artifacts | length > 1" - name: Get Artifact facts - azure_rm_devtestlabartifact_facts: + azure_rm_devtestlabartifact_info: resource_group: "{{ resource_group }}" lab_name: "{{ lab_name }}" artifact_source_name: "public repo" diff --git a/test/integration/targets/azure_rm_mariadbserver/aliases b/test/integration/targets/azure_rm_mariadbserver/aliases index 1ca78d093c5..3361f3a4e7a 100644 --- a/test/integration/targets/azure_rm_mariadbserver/aliases +++ b/test/integration/targets/azure_rm_mariadbserver/aliases @@ -1,8 +1,8 @@ cloud/azure destructive shippable/azure/group8 -azure_rm_mariadbserver_facts +azure_rm_mariadbserver_info azure_rm_mariadbdatabase -azure_rm_mariadbdatabase_facts +azure_rm_mariadbdatabase_info azure_rm_mariadbfirewallrule -azure_rm_mariadbfirewallrule_facts +azure_rm_mariadbfirewallrule_info diff --git a/test/integration/targets/azure_rm_mariadbserver/tasks/main.yml b/test/integration/targets/azure_rm_mariadbserver/tasks/main.yml index 5b33ffb951c..24ae90d0f52 100644 --- a/test/integration/targets/azure_rm_mariadbserver/tasks/main.yml +++ b/test/integration/targets/azure_rm_mariadbserver/tasks/main.yml @@ -86,7 +86,7 @@ var: output - name: Gather facts MariaDB Server - azure_rm_mariadbserver_facts: + azure_rm_mariadbserver_info: resource_group: "{{ resource_group }}" name: mariadbsrv{{ rpfx }} register: output @@ -128,7 +128,7 @@ ccc: ddd - name: Gather facts MariaDB Server - azure_rm_mariadbserver_facts: + azure_rm_mariadbserver_info: resource_group: "{{ resource_group }}" name: mariadbsrv{{ rpfx }}second register: output @@ -150,7 +150,7 @@ - output.servers[0]['tags']['ccc'] == 'ddd' - name: Gather facts MariaDB Server - azure_rm_mariadbserver_facts: + azure_rm_mariadbserver_info: resource_group: "{{ resource_group }}" register: output - name: Assert that facts are returned @@ -255,7 +255,7 @@ name: testdatabase2 - name: Gather facts MariaDB Database - azure_rm_mariadbdatabase_facts: + azure_rm_mariadbdatabase_info: resource_group: "{{ resource_group }}" server_name: mariadbsrv{{ rpfx }} name: testdatabase @@ -271,7 +271,7 @@ - output.databases[0]['collation'] != None - name: Gather facts MariaDB Database - azure_rm_mariadbdatabase_facts: + azure_rm_mariadbdatabase_info: resource_group: "{{ resource_group }}" server_name: mariadbsrv{{ rpfx }} register: output @@ -395,7 +395,7 @@ - output.changed - name: Gather facts MariaDB Firewall Rule - azure_rm_mariadbfirewallrule_facts: + azure_rm_mariadbfirewallrule_info: resource_group: "{{ resource_group }}" server_name: mariadbsrv{{ rpfx }} name: firewallrule{{ rpfx }} @@ -412,7 +412,7 @@ - "output.rules | length == 1" - name: Gather facts MariaDB Firewall Rule - azure_rm_mariadbfirewallrule_facts: + azure_rm_mariadbfirewallrule_info: resource_group: "{{ resource_group }}" server_name: mariadbsrv{{ rpfx }} register: output @@ -463,7 +463,7 @@ state: absent - name: Gather facts MariaDB Firewall Rule - azure_rm_mariadbfirewallrule_facts: + azure_rm_mariadbfirewallrule_info: resource_group: "{{ resource_group }}" server_name: mariadbsrv{{ rpfx }} name: firewallrule{{ rpfx }} @@ -491,7 +491,7 @@ - output.changed - name: Try to delete default configuraion - azure_rm_mariadbconfiguration_facts: + azure_rm_mariadbconfiguration_info: resource_group: "{{ resource_group }}" server_name: mariadbsrv{{ rpfx }} name: event_scheduler @@ -561,7 +561,7 @@ - not output.changed - name: Gather facts MariaDB Configuration - azure_rm_mariadbconfiguration_facts: + azure_rm_mariadbconfiguration_info: resource_group: "{{ resource_group }}" server_name: mariadbsrv{{ rpfx }} name: event_scheduler @@ -578,7 +578,7 @@ - output.settings | length == 1 - name: Gather facts MariaDB Configuration - azure_rm_mariadbconfiguration_facts: + azure_rm_mariadbconfiguration_info: resource_group: "{{ resource_group }}" server_name: mariadbsrv{{ rpfx }} register: output diff --git a/test/integration/targets/azure_rm_mysqlserver/aliases b/test/integration/targets/azure_rm_mysqlserver/aliases index 2dd9fa168a4..6cdf0148535 100644 --- a/test/integration/targets/azure_rm_mysqlserver/aliases +++ b/test/integration/targets/azure_rm_mysqlserver/aliases @@ -5,3 +5,6 @@ azure_rm_mysqlserver_facts azure_rm_mysqldatabase azure_rm_mysqldatabase_facts azure_rm_mysqlfirewallrule +azure_rm_mysqlfirewallrule_info +azure_rm_mysqlconfiguration +azure_rm_mysqlconfiguration_info diff --git a/test/integration/targets/azure_rm_mysqlserver/tasks/main.yml b/test/integration/targets/azure_rm_mysqlserver/tasks/main.yml index 8f51010d828..6316af47a94 100644 --- a/test/integration/targets/azure_rm_mysqlserver/tasks/main.yml +++ b/test/integration/targets/azure_rm_mysqlserver/tasks/main.yml @@ -395,7 +395,7 @@ - output.changed - name: Gather facts MySQL Firewall Rule - azure_rm_mysqlfirewallrule_facts: + azure_rm_mysqlfirewallrule_info: resource_group: "{{ resource_group }}" server_name: mysqlsrv{{ rpfx }} name: firewallrule{{ rpfx }} @@ -412,7 +412,7 @@ - "output.rules | length == 1" - name: Gather facts MySQL Firewall Rule - azure_rm_mysqlfirewallrule_facts: + azure_rm_mysqlfirewallrule_info: resource_group: "{{ resource_group }}" server_name: mysqlsrv{{ rpfx }} register: output @@ -463,7 +463,7 @@ state: absent - name: Gather facts MySQL Firewall Rule - azure_rm_mysqlfirewallrule_facts: + azure_rm_mysqlfirewallrule_info: resource_group: "{{ resource_group }}" server_name: mysqlsrv{{ rpfx }} name: firewallrule{{ rpfx }} @@ -491,7 +491,7 @@ - output.changed - name: Try to delete default configuraion - azure_rm_mysqlconfiguration_facts: + azure_rm_mysqlconfiguration_info: resource_group: "{{ resource_group }}" server_name: mysqlsrv{{ rpfx }} name: event_scheduler @@ -561,7 +561,7 @@ - not output.changed - name: Gather facts MySQL Configuration - azure_rm_mysqlconfiguration_facts: + azure_rm_mysqlconfiguration_info: resource_group: "{{ resource_group }}" server_name: mysqlsrv{{ rpfx }} name: event_scheduler @@ -578,7 +578,7 @@ - output.settings | length == 1 - name: Gather facts MySQL Configuration - azure_rm_mysqlconfiguration_facts: + azure_rm_mysqlconfiguration_info: resource_group: "{{ resource_group }}" server_name: mysqlsrv{{ rpfx }} register: output diff --git a/test/integration/targets/azure_rm_postgresqlserver/aliases b/test/integration/targets/azure_rm_postgresqlserver/aliases index 476b361a719..51234ebd642 100644 --- a/test/integration/targets/azure_rm_postgresqlserver/aliases +++ b/test/integration/targets/azure_rm_postgresqlserver/aliases @@ -5,5 +5,6 @@ azure_rm_postgresqlserver_facts azure_rm_postgresqldatabase azure_rm_postgresqldatabase_facts azure_rm_postgresqlfirewallrule -azure_rm_postgresqlfirewallrule_facts -azure_rm_postgresqlserverconfiguration_facts +azure_rm_postgresqlfirewallrule_info +azure_rm_postgresqlserverconfiguration +azure_rm_postgresqlserverconfiguration_info diff --git a/test/integration/targets/azure_rm_postgresqlserver/tasks/main.yml b/test/integration/targets/azure_rm_postgresqlserver/tasks/main.yml index 9464e5d5bfe..310d848936c 100644 --- a/test/integration/targets/azure_rm_postgresqlserver/tasks/main.yml +++ b/test/integration/targets/azure_rm_postgresqlserver/tasks/main.yml @@ -374,7 +374,7 @@ end_ip_address: 172.28.10.138 - name: Gather facts PostgreSQL Firewall Rule - azure_rm_postgresqlfirewallrule_facts: + azure_rm_postgresqlfirewallrule_info: resource_group: "{{ resource_group }}" server_name: postgresqlsrv{{ rpfx }} name: firewallrule{{ rpfx }} @@ -391,7 +391,7 @@ - "output.rules | length == 1" - name: Gather facts PostgreSQL Firewall Rule - azure_rm_postgresqlfirewallrule_facts: + azure_rm_postgresqlfirewallrule_info: resource_group: "{{ resource_group }}" server_name: postgresqlsrv{{ rpfx }} register: output @@ -455,7 +455,7 @@ state: absent - name: Gather facts PostgreSQL Firewall Rule - azure_rm_postgresqlfirewallrule_facts: + azure_rm_postgresqlfirewallrule_info: resource_group: "{{ resource_group }}" server_name: postgresqlsrv{{ rpfx }} name: firewallrule{{ rpfx }} @@ -531,7 +531,7 @@ - not output.changed - name: Gather facts PostgreSQL Configuration - azure_rm_postgresqlconfiguration_facts: + azure_rm_postgresqlconfiguration_info: resource_group: "{{ resource_group }}" server_name: postgresqlsrv{{ rpfx }} name: deadlock_timeout @@ -548,7 +548,7 @@ - output.settings | length == 1 - name: Gather facts PostgreSQL Configuration - azure_rm_postgresqlconfiguration_facts: + azure_rm_postgresqlconfiguration_info: resource_group: "{{ resource_group }}" server_name: postgresqlsrv{{ rpfx }} register: output diff --git a/test/integration/targets/azure_rm_sqlserver/aliases b/test/integration/targets/azure_rm_sqlserver/aliases index cc458e8ee0c..473ace268a2 100644 --- a/test/integration/targets/azure_rm_sqlserver/aliases +++ b/test/integration/targets/azure_rm_sqlserver/aliases @@ -3,6 +3,6 @@ destructive shippable/azure/group4 azure_rm_sqlserver_facts azure_rm_sqldatabase -azure_rm_sqldatabase_facts +azure_rm_sqldatabase_info azure_rm_sqlfirewallrule -azure_rm_sqlfirewallrule_facts +azure_rm_sqlfirewallrule_info diff --git a/test/integration/targets/azure_rm_sqlserver/tasks/main.yml b/test/integration/targets/azure_rm_sqlserver/tasks/main.yml index a85e25efb16..9899ee5dee7 100644 --- a/test/integration/targets/azure_rm_sqlserver/tasks/main.yml +++ b/test/integration/targets/azure_rm_sqlserver/tasks/main.yml @@ -150,7 +150,7 @@ location: eastus - name: Gather facts SQL Database - azure_rm_sqldatabase_facts: + azure_rm_sqldatabase_info: resource_group: "{{ resource_group }}" server_name: sqlsrv{{ random_postfix }} name: database{{ random_postfix }} @@ -169,7 +169,7 @@ - output.databases[0].status != None - name: Gather facts SQL Database - azure_rm_sqldatabase_facts: + azure_rm_sqldatabase_info: resource_group: "{{ resource_group }}" server_name: sqlsrv{{ random_postfix }} register: output @@ -241,7 +241,7 @@ # test database facts without databases - name: Gather facts SQL Database - azure_rm_sqldatabase_facts: + azure_rm_sqldatabase_info: resource_group: "{{ resource_group }}" server_name: sqlsrv{{ random_postfix }} name: database{{ random_postfix }} @@ -253,7 +253,7 @@ - output.databases | length == 0 - name: Gather facts SQL Database - azure_rm_sqldatabase_facts: + azure_rm_sqldatabase_info: resource_group: "{{ resource_group }}" server_name: sqlsrv{{ random_postfix }} register: output @@ -318,7 +318,7 @@ end_ip_address: 172.28.10.138 - name: Gather facts SQL Firewall Rule - azure_rm_sqlfirewallrule_facts: + azure_rm_sqlfirewallrule_info: resource_group: "{{ resource_group }}" server_name: sqlsrv{{ random_postfix }} name: firewallrule{{ random_postfix }} @@ -335,7 +335,7 @@ - output.rules[0].end_ip_address != None - name: Gather facts SQL Firewall Rule - azure_rm_sqlfirewallrule_facts: + azure_rm_sqlfirewallrule_info: resource_group: "{{ resource_group }}" server_name: sqlsrv{{ random_postfix }} register: output @@ -371,7 +371,7 @@ state: absent - name: Gather facts SQL Firewall Rule - azure_rm_sqlfirewallrule_facts: + azure_rm_sqlfirewallrule_info: resource_group: "{{ resource_group }}" server_name: sqlsrv{{ random_postfix }} name: firewallrule{{ random_postfix }} diff --git a/test/integration/targets/azure_rm_virtualmachine_extension/tasks/main.yml b/test/integration/targets/azure_rm_virtualmachine_extension/tasks/main.yml index 1a524e4c18c..4a6691d734b 100644 --- a/test/integration/targets/azure_rm_virtualmachine_extension/tasks/main.yml +++ b/test/integration/targets/azure_rm_virtualmachine_extension/tasks/main.yml @@ -84,7 +84,7 @@ that: results.changed - name: Query extension - azure_rm_virtualmachineextension_facts: + azure_rm_virtualmachineextension_info: resource_group: "{{ resource_group }}" name: testVMExtension virtual_machine_name: testVM @@ -105,7 +105,7 @@ - results.extensions[0]['provisioning_state'] != None - name: List extensions - azure_rm_virtualmachineextension_facts: + azure_rm_virtualmachineextension_info: resource_group: "{{ resource_group }}" virtual_machine_name: testVM register: results diff --git a/test/integration/targets/azure_rm_virtualmachine_scaleset/tasks/main.yml b/test/integration/targets/azure_rm_virtualmachine_scaleset/tasks/main.yml index f85a7be1bc5..2ce0fbc1bf3 100644 --- a/test/integration/targets/azure_rm_virtualmachine_scaleset/tasks/main.yml +++ b/test/integration/targets/azure_rm_virtualmachine_scaleset/tasks/main.yml @@ -214,7 +214,7 @@ - output_scaleset.vmss[0].load_balancer == "testLB1" - name: Retrieve scaleset VMs facts - azure_rm_virtualmachinescalesetinstance_facts: + azure_rm_virtualmachinescalesetinstance_info: resource_group: "{{ resource_group }}" vmss_name: testVMSS{{ rpfx }} register: instances @@ -293,7 +293,7 @@ that: not results.changed - name: Query extension - azure_rm_virtualmachinescalesetextension_facts: + azure_rm_virtualmachinescalesetextension_info: resource_group: "{{ resource_group }}" vmss_name: testVMSS{{ rpfx }} name: testExtension @@ -313,7 +313,7 @@ - results.extensions[0]['provisioning_state'] != None - name: List extensions - azure_rm_virtualmachinescalesetextension_facts: + azure_rm_virtualmachinescalesetextension_info: resource_group: "{{ resource_group }}" vmss_name: testVMSS{{ rpfx }} register: results