renaming dtl facts to info

This commit is contained in:
zikalino 2019-03-25 09:15:30 +08:00
parent 752db43b2d
commit c5edffcdb8
7 changed files with 27 additions and 27 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

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