mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-23 04:24:00 -07:00
Fix cosmetic problems in YAML source
This change corrects problems reported by the `yamllint` linter.
Since key duplication problems were removed in 4d48711
, this commit
mainly fixes trailing spaces and extra empty lines at beginning/end of
files.
This commit is contained in:
parent
8874c1dc39
commit
0e834fc9e4
251 changed files with 214 additions and 510 deletions
|
@ -92,4 +92,3 @@
|
|||
that:
|
||||
- 'result.changed'
|
||||
- 'result.deployment.name == "{{ instance_name }}"'
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
######## NS record tests #################
|
||||
|
||||
# the '.' at the end of the value is intentional
|
||||
# it must be verified that the '.' will be stripped
|
||||
# the '.' at the end of the value is intentional
|
||||
# it must be verified that the '.' will be stripped
|
||||
- name: "Test: NS record creation"
|
||||
cloudflare_dns:
|
||||
account_email: "{{ cloudflare_email }}"
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
- name: kv test
|
||||
assert:
|
||||
that:
|
||||
- "{{item | match('somevalue_one')}}"
|
||||
- "{{item | match('somevalue_one')}}"
|
||||
with_consul_kv:
|
||||
- 'key/to/lookup_one token={{acl_token}}'
|
||||
|
||||
|
@ -78,7 +78,7 @@
|
|||
- name: recursive kv lookup test
|
||||
assert:
|
||||
that:
|
||||
- "{{item| match('somevalue_(one|two)')}}"
|
||||
- "{{item| match('somevalue_(one|two)')}}"
|
||||
with_consul_kv:
|
||||
- 'key/to recurse=true token={{acl_token}}'
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
consul:
|
||||
check_id: '{{item}}'
|
||||
state: absent
|
||||
with_items:
|
||||
with_items:
|
||||
- node_level
|
||||
- node_level_http
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
- name: register basic session with consul
|
||||
consul_session:
|
||||
name: session1
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
end_port: 8888
|
||||
cidr: 1.2.3.4/32
|
||||
register: sg_rule
|
||||
- name: verify create http range rule
|
||||
- name: verify create http range rule
|
||||
assert:
|
||||
that:
|
||||
- sg_rule|success
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
- name: test replace ssh public key
|
||||
cs_sshkeypair: |
|
||||
name={{ cs_resource_prefix }}-sshkey
|
||||
name={{ cs_resource_prefix }}-sshkey
|
||||
public_key="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDsTI7KJZ8tz/CwQIrSol41c6s3vzkGYCMI8o7P9Et48UG9eRoGaMaGYaTvBTj/VQrD7cfurI6Bn0HTT3FLK3OHOweyelm9rIiQ2hjkSl+2lIKWHu992GO58E5Gcy9yYW4sHGgGLNZkPBKrrj0w7lhmiHjPtVnf+2+7Ix1WOO2/HXPcAHhsX/AlyItDewIL4mr/BT83vq0202sPCiM2cFQJl+5WGwS1wYYK8d167cspsmdyX7OyAFCUB0vueuqjE8MFqJvyIJR9y8Lj9Ny71pSV5/QWrXUgELxMYOKSby3gHkxcIXgYBMFLl4DipRTO74OWQlRRaOlqXlOOQbikcY4T rene.moser@swisstxt.ch"
|
||||
register: sshkey3
|
||||
- name: verify results of replace ssh public key
|
||||
|
@ -52,7 +52,7 @@
|
|||
|
||||
- name: test replace ssh public key idempotence
|
||||
cs_sshkeypair: |
|
||||
name={{ cs_resource_prefix }}-sshkey
|
||||
name={{ cs_resource_prefix }}-sshkey
|
||||
public_key="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDsTI7KJZ8tz/CwQIrSol41c6s3vzkGYCMI8o7P9Et48UG9eRoGaMaGYaTvBTj/VQrD7cfurI6Bn0HTT3FLK3OHOweyelm9rIiQ2hjkSl+2lIKWHu992GO58E5Gcy9yYW4sHGgGLNZkPBKrrj0w7lhmiHjPtVnf+2+7Ix1WOO2/HXPcAHhsX/AlyItDewIL4mr/BT83vq0202sPCiM2cFQJl+5WGwS1wYYK8d167cspsmdyX7OyAFCUB0vueuqjE8MFqJvyIJR9y8Lj9Ny71pSV5/QWrXUgELxMYOKSby3gHkxcIXgYBMFLl4DipRTO74OWQlRRaOlqXlOOQbikcY4T rene.moser@swisstxt.ch"
|
||||
register: sshkey4
|
||||
- name: verify results of ssh public key idempotence
|
||||
|
|
|
@ -89,10 +89,10 @@
|
|||
load_balancer_port: 80
|
||||
instance_port: 80
|
||||
health_check:
|
||||
ping_protocol: http
|
||||
ping_protocol: http
|
||||
ping_port: 80
|
||||
ping_path: "/"
|
||||
response_timeout: 5
|
||||
response_timeout: 5
|
||||
interval: 30
|
||||
unhealthy_threshold: 3
|
||||
healthy_threshold: 3
|
||||
|
@ -125,7 +125,7 @@
|
|||
- "output.viable_instances == 1"
|
||||
|
||||
|
||||
# grow scaling group to 3
|
||||
# grow scaling group to 3
|
||||
|
||||
- name: add 2 more instances wait for instances to be deemed healthy (ELB)
|
||||
ec2_asg:
|
||||
|
@ -207,4 +207,4 @@
|
|||
ec2_secret_key: "{{ ec2_secret_key }}"
|
||||
region: "{{ ec2_region }}"
|
||||
state: absent
|
||||
async: 300
|
||||
async: 300
|
||||
|
|
|
@ -185,4 +185,3 @@
|
|||
- 'item.changed == True'
|
||||
- '"{{resource_prefix}}" in item.ansible_facts.ec2_elbs'
|
||||
with_items: result.results
|
||||
|
||||
|
|
|
@ -405,4 +405,3 @@
|
|||
- 'result.changed'
|
||||
- 'result.elb.name == "{{tag_prefix}}"'
|
||||
- 'result.elb.status == "deleted"'
|
||||
|
||||
|
|
|
@ -2,4 +2,3 @@
|
|||
# defaults file for test_ec2_group
|
||||
ec2_group_name: '{{resource_prefix}}'
|
||||
ec2_group_description: 'Created by ansible integration tests'
|
||||
|
||||
|
|
|
@ -217,4 +217,3 @@
|
|||
that:
|
||||
- 'result.failed'
|
||||
- 'result.msg == "Cannot give both image (debian-7) and snapshot ({{ instance_name }}-snapshot)"'
|
||||
|
||||
|
|
|
@ -7,4 +7,3 @@ project_id: "{{ gce_project_id }}"
|
|||
zone: "us-central1-c"
|
||||
machine_type: f1-micro
|
||||
image: debian-8
|
||||
|
||||
|
|
|
@ -88,7 +88,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
# ============================================================
|
||||
- name: Test rax_cbs with creds, region, name and invalid size
|
||||
rax_cbs:
|
||||
|
|
|
@ -57,8 +57,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
# ============================================================
|
||||
- name: Test rax_scaling_group with creds, region and required args
|
||||
rax_scaling_group:
|
||||
|
@ -232,7 +230,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
# ============================================================
|
||||
- name: Test rax_scaling_group with invalid load balancers
|
||||
rax_scaling_group:
|
||||
|
@ -260,7 +257,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
# ============================================================
|
||||
- name: Build a CLB to test rax_scaling_group with
|
||||
rax_clb:
|
||||
|
@ -284,7 +280,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
# ============================================================
|
||||
- name: Test rax_scaling_group with load balancers
|
||||
rax_scaling_group:
|
||||
|
@ -339,7 +334,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
# ============================================================
|
||||
- name: Test rax_scaling_group files change 1
|
||||
rax_scaling_group:
|
||||
|
@ -470,7 +464,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
# ============================================================
|
||||
- name: Change max_entities
|
||||
rax_scaling_group:
|
||||
|
@ -496,7 +489,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
# ============================================================
|
||||
- name: Change min_entities
|
||||
rax_scaling_group:
|
||||
|
@ -522,7 +514,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
# ============================================================
|
||||
- name: Change server_name
|
||||
rax_scaling_group:
|
||||
|
@ -548,7 +539,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
# ============================================================
|
||||
- name: Change image
|
||||
rax_scaling_group:
|
||||
|
@ -574,7 +564,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
# ============================================================
|
||||
- name: Change flavor
|
||||
rax_scaling_group:
|
||||
|
@ -600,7 +589,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
# ============================================================
|
||||
- name: Change disk_config
|
||||
rax_scaling_group:
|
||||
|
@ -649,7 +637,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
# ============================================================
|
||||
- name: Change networks
|
||||
rax_scaling_group:
|
||||
|
@ -678,7 +665,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
# ============================================================
|
||||
- name: Change load balancers
|
||||
rax_scaling_group:
|
||||
|
@ -711,7 +697,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
# ============================================================
|
||||
- name: Create keypair to test with
|
||||
rax_keypair:
|
||||
|
@ -733,7 +718,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
# ============================================================
|
||||
- name: Change key_name
|
||||
rax_scaling_group:
|
||||
|
@ -767,7 +751,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
# ============================================================
|
||||
- name: Change config_drive
|
||||
rax_scaling_group:
|
||||
|
@ -837,7 +820,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
# ============================================================
|
||||
- name: Delete keypair
|
||||
rax_keypair:
|
||||
|
@ -858,7 +840,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
# ============================================================
|
||||
- name: Delete CLB
|
||||
rax_clb:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue