renaming dtl facts to info
This commit is contained in:
parent
752db43b2d
commit
c5edffcdb8
7 changed files with 27 additions and 27 deletions
|
@ -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
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue