renaming facts to info (#54432)

(cherry picked from commit c5edffcdb8)
This commit is contained in:
Brian Coca 2019-03-26 20:30:16 -04:00 committed by GitHub
parent 1034b892df
commit bc95720780
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 110 additions and 106 deletions

View file

@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: azure_rm_devtestlab_facts module: azure_rm_devtestlab_info
version_added: "2.8" version_added: "2.8"
short_description: Get Azure DevTest Lab facts. short_description: Get Azure DevTest Lab facts.
description: description:
@ -41,14 +41,14 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: List instances of DevTest Lab by resource group - name: List instances of DevTest Lab by resource group
azure_rm_devtestlab_facts: azure_rm_devtestlab_info:
resource_group: testrg resource_group: testrg
- name: List instances of DevTest Lab in subscription - name: List instances of DevTest Lab in subscription
azure_rm_devtestlab_facts: azure_rm_devtestlab_info:
- name: Get instance of DevTest Lab - name: Get instance of DevTest Lab
azure_rm_devtestlab_facts: azure_rm_devtestlab_info:
resource_group: testrg resource_group: testrg
name: testlab name: testlab
''' '''

View file

@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: azure_rm_devtestlabarmtemplate_facts module: azure_rm_devtestlabarmtemplate_info
version_added: "2.8" version_added: "2.8"
short_description: Get Azure DevTest Lab ARM Template facts. short_description: Get Azure DevTest Lab ARM Template facts.
description: description:
@ -48,7 +48,7 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Get information on DevTest Lab ARM Template - name: Get information on DevTest Lab ARM Template
azure_rm_devtestlabarmtemplate_facts: azure_rm_devtestlabarmtemplate_info:
resource_group: myResourceGroup resource_group: myResourceGroup
lab_name: myLab lab_name: myLab
artifact_source_name: public environment repo artifact_source_name: public environment repo

View file

@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: azure_rm_devtestlabartifact_facts module: azure_rm_devtestlabartifact_info
version_added: "2.8" version_added: "2.8"
short_description: Get Azure DevTest Lab Artifact facts. short_description: Get Azure DevTest Lab Artifact facts.
description: description:
@ -48,7 +48,7 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Get instance of DevTest Lab Artifact - name: Get instance of DevTest Lab Artifact
azure_rm_devtestlabartifact_facts: azure_rm_devtestlabartifact_info:
resource_group: myResourceGroup resource_group: myResourceGroup
lab_name: myLab lab_name: myLab
artifact_source_name: myArtifactSource artifact_source_name: myArtifactSource

View file

@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: azure_rm_devtestlabartifactsource_facts module: azure_rm_devtestlabartifactsource_info
version_added: "2.8" version_added: "2.8"
short_description: Get Azure DevTest Lab Artifact Source facts. short_description: Get Azure DevTest Lab Artifact Source facts.
description: description:
@ -47,7 +47,7 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Get instance of DevTest Lab Artifact Source - name: Get instance of DevTest Lab Artifact Source
azure_rm_devtestlabartifactsource_facts: azure_rm_devtestlabartifactsource_info:
resource_group: myResourceGroup resource_group: myResourceGroup
lab_name: myLab lab_name: myLab
name: myArtifactSource name: myArtifactSource

View file

@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: azure_rm_devtestlabvirtualmachine_facts module: azure_rm_devtestlabvirtualmachine_info
version_added: "2.8" version_added: "2.8"
short_description: Get Azure DevTest Lab Virtual Machine facts. short_description: Get Azure DevTest Lab Virtual Machine facts.
description: description:
@ -47,7 +47,7 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Get instance of DTL Virtual Machine - name: Get instance of DTL Virtual Machine
azure_rm_devtestlabvirtualmachine_facts: azure_rm_devtestlabvirtualmachine_info:
resource_group: myResourceGroup resource_group: myResourceGroup
lab_name: myLab lab_name: myLab
name: myVm name: myVm

View file

@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: azure_rm_devtestlabvirtualnetwork_facts module: azure_rm_devtestlabvirtualnetwork_info
version_added: "2.8" version_added: "2.8"
short_description: Get Azure DevTest Lab Virtual Network facts. short_description: Get Azure DevTest Lab Virtual Network facts.
description: description:
@ -44,13 +44,13 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Get instance of DevTest Lab Virtual Network - name: Get instance of DevTest Lab Virtual Network
azure_rm_devtestlabvirtualnetwork_facts: azure_rm_devtestlabvirtualnetwork_info:
resource_group: myResourceGroup resource_group: myResourceGroup
lab_name: myLab lab_name: myLab
name: myVirtualNetwork name: myVirtualNetwork
- name: List all Virtual Networks in DevTest Lab - name: List all Virtual Networks in DevTest Lab
azure_rm_devtestlabvirtualnetwork_facts: azure_rm_devtestlabvirtualnetwork_info:
resource_group: myResourceGroup resource_group: myResourceGroup
lab_name: myLab lab_name: myLab
name: myVirtualNetwork name: myVirtualNetwork

View file

@ -16,7 +16,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: azure_rm_mariadbconfiguration_facts module: azure_rm_mariadbconfiguration_info
version_added: "2.8" version_added: "2.8"
short_description: Get Azure MariaDB Configuration facts. short_description: Get Azure MariaDB Configuration facts.
description: description:
@ -46,13 +46,13 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Get specific setting of MariaDB Server - name: Get specific setting of MariaDB Server
azure_rm_mariadbconfiguration_facts: azure_rm_mariadbconfiguration_info:
resource_group: myResourceGroup resource_group: myResourceGroup
server_name: testserver server_name: testserver
name: deadlock_timeout name: deadlock_timeout
- name: Get all settings of MariaDB Server - name: Get all settings of MariaDB Server
azure_rm_mariadbconfiguration_facts: azure_rm_mariadbconfiguration_info:
resource_group: myResourceGroup resource_group: myResourceGroup
server_name: server_name server_name: server_name
''' '''

View file

@ -16,7 +16,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: azure_rm_mariadbdatabase_facts module: azure_rm_mariadbdatabase_info
version_added: "2.8" version_added: "2.8"
short_description: Get Azure MariaDB Database facts. short_description: Get Azure MariaDB Database facts.
description: description:
@ -46,13 +46,13 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Get instance of MariaDB Database - name: Get instance of MariaDB Database
azure_rm_mariadbdatabase_facts: azure_rm_mariadbdatabase_info:
resource_group: myResourceGroup resource_group: myResourceGroup
server_name: server_name server_name: server_name
name: database_name name: database_name
- name: List instances of MariaDB Database - name: List instances of MariaDB Database
azure_rm_mariadbdatabase_facts: azure_rm_mariadbdatabase_info:
resource_group: myResourceGroup resource_group: myResourceGroup
server_name: server_name server_name: server_name
''' '''

View file

@ -16,7 +16,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: azure_rm_mariadbfirewallrule_facts module: azure_rm_mariadbfirewallrule_info
version_added: "2.8" version_added: "2.8"
short_description: Get Azure MariaDB Firewall Rule facts. short_description: Get Azure MariaDB Firewall Rule facts.
description: description:
@ -46,13 +46,13 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Get instance of MariaDB Firewall Rule - name: Get instance of MariaDB Firewall Rule
azure_rm_mariadbfirewallrule_facts: azure_rm_mariadbfirewallrule_info:
resource_group: myResourceGroup resource_group: myResourceGroup
server_name: server_name server_name: server_name
name: firewall_rule_name name: firewall_rule_name
- name: List instances of MariaDB Firewall Rule - name: List instances of MariaDB Firewall Rule
azure_rm_mariadbfirewallrule_facts: azure_rm_mariadbfirewallrule_info:
resource_group: myResourceGroup resource_group: myResourceGroup
server_name: server_name server_name: server_name
''' '''

View file

@ -16,7 +16,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: azure_rm_mariadbserver_facts module: azure_rm_mariadbserver_info
version_added: "2.8" version_added: "2.8"
short_description: Get Azure MariaDB Server facts. short_description: Get Azure MariaDB Server facts.
description: description:
@ -45,12 +45,12 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Get instance of MariaDB Server - name: Get instance of MariaDB Server
azure_rm_mariadbserver_facts: azure_rm_mariadbserver_info:
resource_group: myResourceGroup resource_group: myResourceGroup
name: server_name name: server_name
- name: List instances of MariaDB Server - name: List instances of MariaDB Server
azure_rm_mariadbserver_facts: azure_rm_mariadbserver_info:
resource_group: myResourceGroup resource_group: myResourceGroup
''' '''

View file

@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: azure_rm_mysqlconfiguration_facts module: azure_rm_mysqlconfiguration_info
version_added: "2.8" version_added: "2.8"
short_description: Get Azure MySQL Configuration facts. short_description: Get Azure MySQL Configuration facts.
description: description:
@ -44,13 +44,13 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Get specific setting of MySQL Server - name: Get specific setting of MySQL Server
azure_rm_mysqlconfiguration_facts: azure_rm_mysqlconfiguration_info:
resource_group: myResourceGroup resource_group: myResourceGroup
server_name: testmysqlserver server_name: testmysqlserver
name: deadlock_timeout name: deadlock_timeout
- name: Get all settings of MySQL Server - name: Get all settings of MySQL Server
azure_rm_mysqlconfiguration_facts: azure_rm_mysqlconfiguration_info:
resource_group: myResourceGroup resource_group: myResourceGroup
server_name: server_name server_name: server_name
''' '''

View file

@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: azure_rm_mysqlfirewallrule_facts module: azure_rm_mysqlfirewallrule_info
version_added: "2.8" version_added: "2.8"
short_description: Get Azure MySQL Firewall Rule facts. short_description: Get Azure MySQL Firewall Rule facts.
description: description:
@ -44,13 +44,13 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Get instance of MySQL Firewall Rule - name: Get instance of MySQL Firewall Rule
azure_rm_mysqlfirewallrule_facts: azure_rm_mysqlfirewallrule_info:
resource_group: myResourceGroup resource_group: myResourceGroup
server_name: server_name server_name: server_name
name: firewall_rule_name name: firewall_rule_name
- name: List instances of MySQL Firewall Rule - name: List instances of MySQL Firewall Rule
azure_rm_mysqlfirewallrule_facts: azure_rm_mysqlfirewallrule_info:
resource_group: myResourceGroup resource_group: myResourceGroup
server_name: server_name server_name: server_name
''' '''

View file

@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: azure_rm_postgresqlconfiguration_facts module: azure_rm_postgresqlconfiguration_info
version_added: "2.8" version_added: "2.8"
short_description: Get Azure PostgreSQL Configuration facts. short_description: Get Azure PostgreSQL Configuration facts.
description: description:
@ -44,13 +44,13 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Get specific setting of PostgreSQL configuration - name: Get specific setting of PostgreSQL configuration
azure_rm_postgresqlconfiguration_facts: azure_rm_postgresqlconfiguration_info:
resource_group: myResourceGroup resource_group: myResourceGroup
server_name: testpostgresqlserver server_name: testpostgresqlserver
name: deadlock_timeout name: deadlock_timeout
- name: Get all settings of PostgreSQL Configuration - name: Get all settings of PostgreSQL Configuration
azure_rm_postgresqlconfiguration_facts: azure_rm_postgresqlconfiguration_info:
resource_group: myResourceGroup resource_group: myResourceGroup
server_name: testpostgresqlserver server_name: testpostgresqlserver
''' '''

View file

@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: azure_rm_postgresqlfirewallrule_facts module: azure_rm_postgresqlfirewallrule_info
version_added: "2.8" version_added: "2.8"
short_description: Get Azure PostgreSQL Firewall Rule facts. short_description: Get Azure PostgreSQL Firewall Rule facts.
description: description:
@ -44,13 +44,13 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Get instance of PostgreSQL Firewall Rule - name: Get instance of PostgreSQL Firewall Rule
azure_rm_postgresqlfirewallrule_facts: azure_rm_postgresqlfirewallrule_info:
resource_group: myResourceGroup resource_group: myResourceGroup
server_name: server_name server_name: server_name
name: firewall_rule_name name: firewall_rule_name
- name: List instances of PostgreSQL Firewall Rule - name: List instances of PostgreSQL Firewall Rule
azure_rm_postgresqlfirewallrule_facts: azure_rm_postgresqlfirewallrule_info:
resource_group: myResourceGroup resource_group: myResourceGroup
server_name: server_name server_name: server_name
''' '''

View file

@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: azure_rm_sqldatabase_facts module: azure_rm_sqldatabase_info
version_added: "2.8" version_added: "2.8"
short_description: Get Azure SQL Database facts. short_description: Get Azure SQL Database facts.
description: description:
@ -50,19 +50,19 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Get instance of SQL Database - name: Get instance of SQL Database
azure_rm_sqldatabase_facts: azure_rm_sqldatabase_info:
resource_group: testrg resource_group: testrg
server_name: testserver server_name: testserver
name: testdb name: testdb
- name: List instances of SQL Database - name: List instances of SQL Database
azure_rm_sqldatabase_facts: azure_rm_sqldatabase_info:
resource_group: testrg resource_group: testrg
server_name: testserver server_name: testserver
elastic_pool_name: testep elastic_pool_name: testep
- name: List instances of SQL Database - name: List instances of SQL Database
azure_rm_sqldatabase_facts: azure_rm_sqldatabase_info:
resource_group: testrg resource_group: testrg
server_name: testserver server_name: testserver
''' '''

View file

@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: azure_rm_sqlfirewallrule_facts module: azure_rm_sqlfirewallrule_info
version_added: "2.8" version_added: "2.8"
short_description: Get Azure SQL Firewall Rule facts. short_description: Get Azure SQL Firewall Rule facts.
description: description:
@ -44,13 +44,13 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Get instance of SQL Firewall Rule - name: Get instance of SQL Firewall Rule
azure_rm_sqlfirewallrule_facts: azure_rm_sqlfirewallrule_info:
resource_group: myResourceGroup resource_group: myResourceGroup
server_name: testserver server_name: testserver
name: testrule name: testrule
- name: List instances of SQL Firewall Rule - name: List instances of SQL Firewall Rule
azure_rm_sqlfirewallrule_facts: azure_rm_sqlfirewallrule_info:
resource_group: myResourceGroup resource_group: myResourceGroup
server_name: testserver server_name: testserver
''' '''

View file

@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: azure_rm_virtualmachineextension_facts module: azure_rm_virtualmachineextension_info
version_added: "2.8" version_added: "2.8"
short_description: Get Azure Virtual Machine Extension facts. short_description: Get Azure Virtual Machine Extension facts.
description: description:
@ -47,13 +47,13 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Get information on specific Virtual Machine Extension - name: Get information on specific Virtual Machine Extension
azure_rm_virtualmachineextension_facts: azure_rm_virtualmachineextension_info:
resource_group: myResourceGroup resource_group: myResourceGroup
virtual_machine_name: myvm virtual_machine_name: myvm
name: myextension name: myextension
- name: List installed Virtual Machine Extensions - name: List installed Virtual Machine Extensions
azure_rm_virtualmachineextension_facts: azure_rm_virtualmachineextension_info:
resource_group: myResourceGroup resource_group: myResourceGroup
virtual_machine_name: myvm virtual_machine_name: myvm
''' '''

View file

@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: azure_rm_virtualmachinescalesetextension_facts module: azure_rm_virtualmachinescalesetextension_info
version_added: "2.8" version_added: "2.8"
short_description: Get Azure Virtual Machine Scale Set Extension facts. short_description: Get Azure Virtual Machine Scale Set Extension facts.
description: description:
@ -44,13 +44,13 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Get information on specific Virtual Machine Scale Set Extension - name: Get information on specific Virtual Machine Scale Set Extension
azure_rm_virtualmachineextension_facts: azure_rm_virtualmachineextension_info:
resource_group: myResourceGroup resource_group: myResourceGroup
vmss_name: myvmss vmss_name: myvmss
name: myextension name: myextension
- name: List installed Virtual Machine Scale Set Extensions - name: List installed Virtual Machine Scale Set Extensions
azure_rm_virtualmachineextension_facts: azure_rm_virtualmachineextension_info:
resource_group: myrg resource_group: myrg
vmss_name: myvmss vmss_name: myvmss
''' '''

View file

@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: azure_rm_virtualmachinescalesetinstance_facts module: azure_rm_virtualmachinescalesetinstance_info
version_added: "2.8" version_added: "2.8"
short_description: Get Azure Virtual Machine Scale Set Instance facts. short_description: Get Azure Virtual Machine Scale Set Instance facts.
description: description:

View file

@ -61,7 +61,7 @@
- output.changed - output.changed
- name: List DevTest Lab in a resource group - name: List DevTest Lab in a resource group
azure_rm_devtestlab_facts: azure_rm_devtestlab_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
register: output_lab register: output_lab
- name: Assert that facts are returned - name: Assert that facts are returned
@ -78,7 +78,7 @@
- output_lab.labs[0]['vault_name'] != None - output_lab.labs[0]['vault_name'] != None
- name: Get DevTest Lab facts - name: Get DevTest Lab facts
azure_rm_devtestlab_facts: azure_rm_devtestlab_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
name: "{{ lab_name }}" name: "{{ lab_name }}"
register: output_lab register: output_lab
@ -263,7 +263,7 @@
- output.changed - output.changed
- name: Get DevTest Lab Virtual Network facts - name: Get DevTest Lab Virtual Network facts
azure_rm_devtestlabvirtualnetwork_facts: azure_rm_devtestlabvirtualnetwork_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
lab_name: "{{ lab_name }}" lab_name: "{{ lab_name }}"
name: "{{ vn_name }}" name: "{{ vn_name }}"
@ -281,7 +281,7 @@
- output.virtualnetworks[0]['provisioning_state'] != None - output.virtualnetworks[0]['provisioning_state'] != None
- name: List all Virtual Networks in DevTest Lab - name: List all Virtual Networks in DevTest Lab
azure_rm_devtestlabvirtualnetwork_facts: azure_rm_devtestlabvirtualnetwork_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
lab_name: "{{ lab_name }}" lab_name: "{{ lab_name }}"
register: output register: output
@ -458,7 +458,7 @@
when: "github_token | length > 0" when: "github_token | length > 0"
- name: Get Facts of DTL Virtual Machine - name: Get Facts of DTL Virtual Machine
azure_rm_devtestlabvirtualmachine_facts: azure_rm_devtestlabvirtualmachine_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
lab_name: "{{ lab_name }}" lab_name: "{{ lab_name }}"
name: "{{ vm_name }}" name: "{{ vm_name }}"
@ -488,7 +488,7 @@
when: "github_token | length > 0" when: "github_token | length > 0"
- name: List Facts of DTL Virtual Machine - name: List Facts of DTL Virtual Machine
azure_rm_devtestlabvirtualmachine_facts: azure_rm_devtestlabvirtualmachine_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
lab_name: "{{ lab_name }}" lab_name: "{{ lab_name }}"
register: output_vm register: output_vm
@ -516,7 +516,7 @@
- name: List all artifact sources - name: List all artifact sources
azure_rm_devtestlabartifactsource_facts: azure_rm_devtestlabartifactsource_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
lab_name: "{{ lab_name }}" lab_name: "{{ lab_name }}"
register: output register: output
@ -537,7 +537,7 @@
- output.artifactsources | length >= 2 - output.artifactsources | length >= 2
- name: Get artifacts source facts - name: Get artifacts source facts
azure_rm_devtestlabartifactsource_facts: azure_rm_devtestlabartifactsource_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
lab_name: "{{ lab_name }}" lab_name: "{{ lab_name }}"
name: public repo name: public repo
@ -572,7 +572,7 @@
when: "github_token | length > 0" when: "github_token | length > 0"
- name: List ARM Template facts - name: List ARM Template facts
azure_rm_devtestlabarmtemplate_facts: azure_rm_devtestlabarmtemplate_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
lab_name: "{{ lab_name }}" lab_name: "{{ lab_name }}"
artifact_source_name: "public environment repo" artifact_source_name: "public environment repo"
@ -591,7 +591,7 @@
- "output.armtemplates | length > 1" - "output.armtemplates | length > 1"
- name: Get ARM Template facts - name: Get ARM Template facts
azure_rm_devtestlabarmtemplate_facts: azure_rm_devtestlabarmtemplate_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
lab_name: "{{ lab_name }}" lab_name: "{{ lab_name }}"
artifact_source_name: "public environment repo" artifact_source_name: "public environment repo"
@ -613,7 +613,7 @@
- name: Get Artifact facts - name: Get Artifact facts
azure_rm_devtestlabartifact_facts: azure_rm_devtestlabartifact_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
lab_name: "{{ lab_name }}" lab_name: "{{ lab_name }}"
artifact_source_name: "public repo" artifact_source_name: "public repo"
@ -635,7 +635,7 @@
- "output.artifacts | length > 1" - "output.artifacts | length > 1"
- name: Get Artifact facts - name: Get Artifact facts
azure_rm_devtestlabartifact_facts: azure_rm_devtestlabartifact_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
lab_name: "{{ lab_name }}" lab_name: "{{ lab_name }}"
artifact_source_name: "public repo" artifact_source_name: "public repo"

View file

@ -1,8 +1,8 @@
cloud/azure cloud/azure
destructive destructive
shippable/azure/group8 shippable/azure/group8
azure_rm_mariadbserver_facts azure_rm_mariadbserver_info
azure_rm_mariadbdatabase azure_rm_mariadbdatabase
azure_rm_mariadbdatabase_facts azure_rm_mariadbdatabase_info
azure_rm_mariadbfirewallrule azure_rm_mariadbfirewallrule
azure_rm_mariadbfirewallrule_facts azure_rm_mariadbfirewallrule_info

View file

@ -86,7 +86,7 @@
var: output var: output
- name: Gather facts MariaDB Server - name: Gather facts MariaDB Server
azure_rm_mariadbserver_facts: azure_rm_mariadbserver_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
name: mariadbsrv{{ rpfx }} name: mariadbsrv{{ rpfx }}
register: output register: output
@ -128,7 +128,7 @@
ccc: ddd ccc: ddd
- name: Gather facts MariaDB Server - name: Gather facts MariaDB Server
azure_rm_mariadbserver_facts: azure_rm_mariadbserver_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
name: mariadbsrv{{ rpfx }}second name: mariadbsrv{{ rpfx }}second
register: output register: output
@ -150,7 +150,7 @@
- output.servers[0]['tags']['ccc'] == 'ddd' - output.servers[0]['tags']['ccc'] == 'ddd'
- name: Gather facts MariaDB Server - name: Gather facts MariaDB Server
azure_rm_mariadbserver_facts: azure_rm_mariadbserver_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
register: output register: output
- name: Assert that facts are returned - name: Assert that facts are returned
@ -255,7 +255,7 @@
name: testdatabase2 name: testdatabase2
- name: Gather facts MariaDB Database - name: Gather facts MariaDB Database
azure_rm_mariadbdatabase_facts: azure_rm_mariadbdatabase_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: mariadbsrv{{ rpfx }} server_name: mariadbsrv{{ rpfx }}
name: testdatabase name: testdatabase
@ -271,7 +271,7 @@
- output.databases[0]['collation'] != None - output.databases[0]['collation'] != None
- name: Gather facts MariaDB Database - name: Gather facts MariaDB Database
azure_rm_mariadbdatabase_facts: azure_rm_mariadbdatabase_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: mariadbsrv{{ rpfx }} server_name: mariadbsrv{{ rpfx }}
register: output register: output
@ -395,7 +395,7 @@
- output.changed - output.changed
- name: Gather facts MariaDB Firewall Rule - name: Gather facts MariaDB Firewall Rule
azure_rm_mariadbfirewallrule_facts: azure_rm_mariadbfirewallrule_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: mariadbsrv{{ rpfx }} server_name: mariadbsrv{{ rpfx }}
name: firewallrule{{ rpfx }} name: firewallrule{{ rpfx }}
@ -412,7 +412,7 @@
- "output.rules | length == 1" - "output.rules | length == 1"
- name: Gather facts MariaDB Firewall Rule - name: Gather facts MariaDB Firewall Rule
azure_rm_mariadbfirewallrule_facts: azure_rm_mariadbfirewallrule_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: mariadbsrv{{ rpfx }} server_name: mariadbsrv{{ rpfx }}
register: output register: output
@ -463,7 +463,7 @@
state: absent state: absent
- name: Gather facts MariaDB Firewall Rule - name: Gather facts MariaDB Firewall Rule
azure_rm_mariadbfirewallrule_facts: azure_rm_mariadbfirewallrule_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: mariadbsrv{{ rpfx }} server_name: mariadbsrv{{ rpfx }}
name: firewallrule{{ rpfx }} name: firewallrule{{ rpfx }}
@ -491,7 +491,7 @@
- output.changed - output.changed
- name: Try to delete default configuraion - name: Try to delete default configuraion
azure_rm_mariadbconfiguration_facts: azure_rm_mariadbconfiguration_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: mariadbsrv{{ rpfx }} server_name: mariadbsrv{{ rpfx }}
name: event_scheduler name: event_scheduler
@ -561,7 +561,7 @@
- not output.changed - not output.changed
- name: Gather facts MariaDB Configuration - name: Gather facts MariaDB Configuration
azure_rm_mariadbconfiguration_facts: azure_rm_mariadbconfiguration_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: mariadbsrv{{ rpfx }} server_name: mariadbsrv{{ rpfx }}
name: event_scheduler name: event_scheduler
@ -578,7 +578,7 @@
- output.settings | length == 1 - output.settings | length == 1
- name: Gather facts MariaDB Configuration - name: Gather facts MariaDB Configuration
azure_rm_mariadbconfiguration_facts: azure_rm_mariadbconfiguration_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: mariadbsrv{{ rpfx }} server_name: mariadbsrv{{ rpfx }}
register: output register: output

View file

@ -5,3 +5,6 @@ azure_rm_mysqlserver_facts
azure_rm_mysqldatabase azure_rm_mysqldatabase
azure_rm_mysqldatabase_facts azure_rm_mysqldatabase_facts
azure_rm_mysqlfirewallrule azure_rm_mysqlfirewallrule
azure_rm_mysqlfirewallrule_info
azure_rm_mysqlconfiguration
azure_rm_mysqlconfiguration_info

View file

@ -395,7 +395,7 @@
- output.changed - output.changed
- name: Gather facts MySQL Firewall Rule - name: Gather facts MySQL Firewall Rule
azure_rm_mysqlfirewallrule_facts: azure_rm_mysqlfirewallrule_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: mysqlsrv{{ rpfx }} server_name: mysqlsrv{{ rpfx }}
name: firewallrule{{ rpfx }} name: firewallrule{{ rpfx }}
@ -412,7 +412,7 @@
- "output.rules | length == 1" - "output.rules | length == 1"
- name: Gather facts MySQL Firewall Rule - name: Gather facts MySQL Firewall Rule
azure_rm_mysqlfirewallrule_facts: azure_rm_mysqlfirewallrule_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: mysqlsrv{{ rpfx }} server_name: mysqlsrv{{ rpfx }}
register: output register: output
@ -463,7 +463,7 @@
state: absent state: absent
- name: Gather facts MySQL Firewall Rule - name: Gather facts MySQL Firewall Rule
azure_rm_mysqlfirewallrule_facts: azure_rm_mysqlfirewallrule_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: mysqlsrv{{ rpfx }} server_name: mysqlsrv{{ rpfx }}
name: firewallrule{{ rpfx }} name: firewallrule{{ rpfx }}
@ -491,7 +491,7 @@
- output.changed - output.changed
- name: Try to delete default configuraion - name: Try to delete default configuraion
azure_rm_mysqlconfiguration_facts: azure_rm_mysqlconfiguration_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: mysqlsrv{{ rpfx }} server_name: mysqlsrv{{ rpfx }}
name: event_scheduler name: event_scheduler
@ -561,7 +561,7 @@
- not output.changed - not output.changed
- name: Gather facts MySQL Configuration - name: Gather facts MySQL Configuration
azure_rm_mysqlconfiguration_facts: azure_rm_mysqlconfiguration_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: mysqlsrv{{ rpfx }} server_name: mysqlsrv{{ rpfx }}
name: event_scheduler name: event_scheduler
@ -578,7 +578,7 @@
- output.settings | length == 1 - output.settings | length == 1
- name: Gather facts MySQL Configuration - name: Gather facts MySQL Configuration
azure_rm_mysqlconfiguration_facts: azure_rm_mysqlconfiguration_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: mysqlsrv{{ rpfx }} server_name: mysqlsrv{{ rpfx }}
register: output register: output

View file

@ -5,5 +5,6 @@ azure_rm_postgresqlserver_facts
azure_rm_postgresqldatabase azure_rm_postgresqldatabase
azure_rm_postgresqldatabase_facts azure_rm_postgresqldatabase_facts
azure_rm_postgresqlfirewallrule azure_rm_postgresqlfirewallrule
azure_rm_postgresqlfirewallrule_facts azure_rm_postgresqlfirewallrule_info
azure_rm_postgresqlserverconfiguration_facts azure_rm_postgresqlserverconfiguration
azure_rm_postgresqlserverconfiguration_info

View file

@ -374,7 +374,7 @@
end_ip_address: 172.28.10.138 end_ip_address: 172.28.10.138
- name: Gather facts PostgreSQL Firewall Rule - name: Gather facts PostgreSQL Firewall Rule
azure_rm_postgresqlfirewallrule_facts: azure_rm_postgresqlfirewallrule_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: postgresqlsrv{{ rpfx }} server_name: postgresqlsrv{{ rpfx }}
name: firewallrule{{ rpfx }} name: firewallrule{{ rpfx }}
@ -391,7 +391,7 @@
- "output.rules | length == 1" - "output.rules | length == 1"
- name: Gather facts PostgreSQL Firewall Rule - name: Gather facts PostgreSQL Firewall Rule
azure_rm_postgresqlfirewallrule_facts: azure_rm_postgresqlfirewallrule_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: postgresqlsrv{{ rpfx }} server_name: postgresqlsrv{{ rpfx }}
register: output register: output
@ -455,7 +455,7 @@
state: absent state: absent
- name: Gather facts PostgreSQL Firewall Rule - name: Gather facts PostgreSQL Firewall Rule
azure_rm_postgresqlfirewallrule_facts: azure_rm_postgresqlfirewallrule_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: postgresqlsrv{{ rpfx }} server_name: postgresqlsrv{{ rpfx }}
name: firewallrule{{ rpfx }} name: firewallrule{{ rpfx }}
@ -531,7 +531,7 @@
- not output.changed - not output.changed
- name: Gather facts PostgreSQL Configuration - name: Gather facts PostgreSQL Configuration
azure_rm_postgresqlconfiguration_facts: azure_rm_postgresqlconfiguration_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: postgresqlsrv{{ rpfx }} server_name: postgresqlsrv{{ rpfx }}
name: deadlock_timeout name: deadlock_timeout
@ -548,7 +548,7 @@
- output.settings | length == 1 - output.settings | length == 1
- name: Gather facts PostgreSQL Configuration - name: Gather facts PostgreSQL Configuration
azure_rm_postgresqlconfiguration_facts: azure_rm_postgresqlconfiguration_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: postgresqlsrv{{ rpfx }} server_name: postgresqlsrv{{ rpfx }}
register: output register: output

View file

@ -3,6 +3,6 @@ destructive
shippable/azure/group4 shippable/azure/group4
azure_rm_sqlserver_facts azure_rm_sqlserver_facts
azure_rm_sqldatabase azure_rm_sqldatabase
azure_rm_sqldatabase_facts azure_rm_sqldatabase_info
azure_rm_sqlfirewallrule azure_rm_sqlfirewallrule
azure_rm_sqlfirewallrule_facts azure_rm_sqlfirewallrule_info

View file

@ -150,7 +150,7 @@
location: eastus location: eastus
- name: Gather facts SQL Database - name: Gather facts SQL Database
azure_rm_sqldatabase_facts: azure_rm_sqldatabase_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: sqlsrv{{ random_postfix }} server_name: sqlsrv{{ random_postfix }}
name: database{{ random_postfix }} name: database{{ random_postfix }}
@ -169,7 +169,7 @@
- output.databases[0].status != None - output.databases[0].status != None
- name: Gather facts SQL Database - name: Gather facts SQL Database
azure_rm_sqldatabase_facts: azure_rm_sqldatabase_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: sqlsrv{{ random_postfix }} server_name: sqlsrv{{ random_postfix }}
register: output register: output
@ -241,7 +241,7 @@
# test database facts without databases # test database facts without databases
- name: Gather facts SQL Database - name: Gather facts SQL Database
azure_rm_sqldatabase_facts: azure_rm_sqldatabase_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: sqlsrv{{ random_postfix }} server_name: sqlsrv{{ random_postfix }}
name: database{{ random_postfix }} name: database{{ random_postfix }}
@ -253,7 +253,7 @@
- output.databases | length == 0 - output.databases | length == 0
- name: Gather facts SQL Database - name: Gather facts SQL Database
azure_rm_sqldatabase_facts: azure_rm_sqldatabase_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: sqlsrv{{ random_postfix }} server_name: sqlsrv{{ random_postfix }}
register: output register: output
@ -318,7 +318,7 @@
end_ip_address: 172.28.10.138 end_ip_address: 172.28.10.138
- name: Gather facts SQL Firewall Rule - name: Gather facts SQL Firewall Rule
azure_rm_sqlfirewallrule_facts: azure_rm_sqlfirewallrule_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: sqlsrv{{ random_postfix }} server_name: sqlsrv{{ random_postfix }}
name: firewallrule{{ random_postfix }} name: firewallrule{{ random_postfix }}
@ -335,7 +335,7 @@
- output.rules[0].end_ip_address != None - output.rules[0].end_ip_address != None
- name: Gather facts SQL Firewall Rule - name: Gather facts SQL Firewall Rule
azure_rm_sqlfirewallrule_facts: azure_rm_sqlfirewallrule_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: sqlsrv{{ random_postfix }} server_name: sqlsrv{{ random_postfix }}
register: output register: output
@ -371,7 +371,7 @@
state: absent state: absent
- name: Gather facts SQL Firewall Rule - name: Gather facts SQL Firewall Rule
azure_rm_sqlfirewallrule_facts: azure_rm_sqlfirewallrule_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
server_name: sqlsrv{{ random_postfix }} server_name: sqlsrv{{ random_postfix }}
name: firewallrule{{ random_postfix }} name: firewallrule{{ random_postfix }}

View file

@ -84,7 +84,7 @@
that: results.changed that: results.changed
- name: Query extension - name: Query extension
azure_rm_virtualmachineextension_facts: azure_rm_virtualmachineextension_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
name: testVMExtension name: testVMExtension
virtual_machine_name: testVM virtual_machine_name: testVM
@ -105,7 +105,7 @@
- results.extensions[0]['provisioning_state'] != None - results.extensions[0]['provisioning_state'] != None
- name: List extensions - name: List extensions
azure_rm_virtualmachineextension_facts: azure_rm_virtualmachineextension_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
virtual_machine_name: testVM virtual_machine_name: testVM
register: results register: results

View file

@ -214,7 +214,7 @@
- output_scaleset.vmss[0].load_balancer == "testLB1" - output_scaleset.vmss[0].load_balancer == "testLB1"
- name: Retrieve scaleset VMs facts - name: Retrieve scaleset VMs facts
azure_rm_virtualmachinescalesetinstance_facts: azure_rm_virtualmachinescalesetinstance_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
vmss_name: testVMSS{{ rpfx }} vmss_name: testVMSS{{ rpfx }}
register: instances register: instances
@ -293,7 +293,7 @@
that: not results.changed that: not results.changed
- name: Query extension - name: Query extension
azure_rm_virtualmachinescalesetextension_facts: azure_rm_virtualmachinescalesetextension_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
vmss_name: testVMSS{{ rpfx }} vmss_name: testVMSS{{ rpfx }}
name: testExtension name: testExtension
@ -313,7 +313,7 @@
- results.extensions[0]['provisioning_state'] != None - results.extensions[0]['provisioning_state'] != None
- name: List extensions - name: List extensions
azure_rm_virtualmachinescalesetextension_facts: azure_rm_virtualmachinescalesetextension_info:
resource_group: "{{ resource_group }}" resource_group: "{{ resource_group }}"
vmss_name: testVMSS{{ rpfx }} vmss_name: testVMSS{{ rpfx }}
register: results register: results