removed state present which is default (#53434)
This commit is contained in:
parent
9ed9cfb40c
commit
b906db5f2a
11 changed files with 0 additions and 24 deletions
|
@ -67,7 +67,6 @@ EXAMPLES = '''
|
|||
name: testacr1
|
||||
location: eastus
|
||||
resource_group: myResourceGroup
|
||||
state: present
|
||||
admin_user_enabled: true
|
||||
sku: Premium
|
||||
tags:
|
||||
|
|
|
@ -107,7 +107,6 @@ EXAMPLES = '''
|
|||
# Create or update a template deployment based on uris using parameter and template links
|
||||
- name: Create Azure Deploy
|
||||
azure_rm_deployment:
|
||||
state: present
|
||||
resource_group_name: dev-ops-cle
|
||||
template_link: 'https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-vm-simple-linux/azuredeploy.json'
|
||||
parameters_link: 'https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-vm-simple-linux/azuredeploy.parameters.json'
|
||||
|
@ -128,7 +127,6 @@ EXAMPLES = '''
|
|||
|
||||
- name: Create Azure Deploy
|
||||
azure_rm_deployment:
|
||||
state: present
|
||||
subscription_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
||||
resource_group_name: dev-ops-cle
|
||||
parameters:
|
||||
|
@ -169,7 +167,6 @@ EXAMPLES = '''
|
|||
# Deploy an Azure WebApp running a hello world'ish node app
|
||||
- name: Create Azure WebApp Deployment at http://devopscleweb.azurewebsites.net/hello.js
|
||||
azure_rm_deployment:
|
||||
state: present
|
||||
subscription_id: cbbdaed0-fea9-4693-bf0c-d446ac93c030
|
||||
resource_group_name: dev-ops-cle-webapp
|
||||
parameters:
|
||||
|
@ -188,7 +185,6 @@ EXAMPLES = '''
|
|||
# Create or update a template deployment based on an inline template and parameters
|
||||
- name: Create Azure Deploy
|
||||
azure_rm_deployment:
|
||||
state: present
|
||||
subscription_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
||||
resource_group_name: dev-ops-cle
|
||||
|
||||
|
|
|
@ -107,7 +107,6 @@ EXAMPLES = '''
|
|||
relative_name: www
|
||||
zone_name: testing.com
|
||||
record_type: A
|
||||
state: present
|
||||
records:
|
||||
- entry: 192.168.100.101
|
||||
- entry: 192.168.100.102
|
||||
|
@ -125,7 +124,6 @@ EXAMPLES = '''
|
|||
azure_rm_dnsrecordset:
|
||||
resource_group: myResourceGroup
|
||||
zone_name: testing.com
|
||||
state: present
|
||||
relative_name: "{{ item.name }}"
|
||||
record_type: "{{ item.type }}"
|
||||
records: "{{ item.records }}"
|
||||
|
@ -141,7 +139,6 @@ EXAMPLES = '''
|
|||
zone_name: testing.com
|
||||
time_to_live: 7200
|
||||
record_type: SRV
|
||||
state: present
|
||||
records:
|
||||
- entry: sip.testing.com
|
||||
preference: 10
|
||||
|
|
|
@ -88,7 +88,6 @@ EXAMPLES = '''
|
|||
azure_rm_dnszone:
|
||||
resource_group: myResourceGroup
|
||||
name: example.com
|
||||
state: present
|
||||
|
||||
- name: Delete a DNS zone
|
||||
azure_rm_dnszone:
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
name: "acr{{ resource_group | hash('md5') | truncate(7, True, '') }}"
|
||||
resource_group: "{{ resource_group }}"
|
||||
location: eastus2
|
||||
state: present
|
||||
admin_user_enabled: true
|
||||
sku: Premium
|
||||
tags:
|
||||
|
@ -42,7 +41,6 @@
|
|||
name: "acr{{ resource_group | hash('md5') | truncate(7, True, '') }}sec"
|
||||
resource_group: "{{ resource_group }}"
|
||||
location: eastus2
|
||||
state: present
|
||||
admin_user_enabled: false
|
||||
sku: Premium
|
||||
tags:
|
||||
|
|
|
@ -222,7 +222,6 @@
|
|||
zone_name: "{{ domain_name }}.com"
|
||||
time_to_live: 7200
|
||||
record_type: SRV
|
||||
state: present
|
||||
records:
|
||||
- entry: sip.{{ domain_name }}.com
|
||||
priority: 20
|
||||
|
@ -241,7 +240,6 @@
|
|||
relative_name: "_txt.{{ domain_name }}.com"
|
||||
zone_name: "{{ domain_name }}.com"
|
||||
record_type: TXT
|
||||
state: present
|
||||
records:
|
||||
- entry: "v=spf1 a -all"
|
||||
- entry: "foo"
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
resource_group: "{{ resource_group }}"
|
||||
name: "invalid_char$"
|
||||
disk_size_gb: 1
|
||||
state: present
|
||||
register: output
|
||||
ignore_errors: yes
|
||||
check_mode: no
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
azure_rm_storageaccount:
|
||||
resource_group: "{{ resource_group }}"
|
||||
name: "invalid_char$"
|
||||
state: present
|
||||
register: invalid_name
|
||||
ignore_errors: yes
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
resource_group: "{{ resource_group }}"
|
||||
name: "{{ storage_account }}"
|
||||
account_type: Standard_LRS
|
||||
state: present
|
||||
|
||||
- name: Create container
|
||||
azure_rm_storageblob:
|
||||
|
|
|
@ -413,7 +413,6 @@
|
|||
azure_rm_virtualmachine:
|
||||
resource_group: "{{ resource_group }}"
|
||||
name: testvm002
|
||||
state: present
|
||||
image:
|
||||
offer: UbuntuServer
|
||||
register: fail_invalid_image_dict
|
||||
|
@ -423,7 +422,6 @@
|
|||
azure_rm_virtualmachine:
|
||||
resource_group: "{{ resource_group }}"
|
||||
name: testvm002
|
||||
state: present
|
||||
image:
|
||||
- testing
|
||||
register: fail_invalid_image_type
|
||||
|
@ -433,7 +431,6 @@
|
|||
azure_rm_virtualmachine:
|
||||
resource_group: "{{ resource_group }}"
|
||||
name: testvm002
|
||||
state: present
|
||||
image: invalid-image
|
||||
register: fail_missing_custom_image
|
||||
failed_when: fail_missing_custom_image.msg != "Error could not find image with name invalid-image"
|
||||
|
@ -442,7 +439,6 @@
|
|||
azure_rm_virtualmachine:
|
||||
resource_group: "{{ resource_group }}"
|
||||
name: testvm002
|
||||
state: present
|
||||
image:
|
||||
name: invalid-image
|
||||
register: fail_missing_custom_image_dict
|
||||
|
|
|
@ -580,7 +580,6 @@
|
|||
azure_rm_virtualmachine_scaleset:
|
||||
resource_group: "{{ resource_group }}"
|
||||
name: testvm002
|
||||
state: present
|
||||
vm_size: Standard_B1s
|
||||
image:
|
||||
offer: UbuntuServer
|
||||
|
@ -591,7 +590,6 @@
|
|||
azure_rm_virtualmachine_scaleset:
|
||||
resource_group: "{{ resource_group }}"
|
||||
name: testvm002
|
||||
state: present
|
||||
vm_size: Standard_B1s
|
||||
image:
|
||||
- testing
|
||||
|
@ -602,7 +600,6 @@
|
|||
azure_rm_virtualmachine_scaleset:
|
||||
resource_group: "{{ resource_group }}"
|
||||
name: testvm002
|
||||
state: present
|
||||
vm_size: Standard_B1s
|
||||
image: invalid-image
|
||||
register: fail_missing_custom_image
|
||||
|
@ -612,7 +609,6 @@
|
|||
azure_rm_virtualmachine_scaleset:
|
||||
resource_group: "{{ resource_group }}"
|
||||
name: testvm002
|
||||
state: present
|
||||
vm_size: Standard_B1s
|
||||
image:
|
||||
name: invalid-image
|
||||
|
|
Loading…
Reference in a new issue