renaming facts to info (#54432)

(cherry picked from commit c5edffcdb8)
pull/54438/head
Brian Coca 6 years ago committed by GitHub
parent 1034b892df
commit bc95720780
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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
'''

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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
'''

@ -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
'''

@ -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
'''

@ -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
'''

@ -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
'''

@ -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
'''

@ -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
'''

@ -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
'''

@ -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
'''

@ -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
'''

@ -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
'''

@ -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
'''

@ -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:

@ -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"

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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 }}

@ -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

@ -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

Loading…
Cancel
Save