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:
Adrien Vergé 2016-04-18 16:47:38 +02:00 committed by Matt Clay
parent 8874c1dc39
commit 0e834fc9e4
251 changed files with 214 additions and 510 deletions

View file

@ -1,2 +1 @@
- include: more_handlers.yml

View file

@ -10,5 +10,3 @@
- "ca == 4001"
- "cb == 4002"
- "cc == 4003"

View file

@ -1,10 +1,9 @@
- set_fact:
- set_fact:
ca: "{{ a }}"
- debug: var=ca
- set_fact:
- set_fact:
cb: "{{b}}"
- debug: var=cb
- set_fact:
cc: "{{ c }}"
- debug: var=cc

View file

@ -26,7 +26,7 @@
- "cb == '2'"
- "cc == '3'"
- set_fact:
- set_fact:
a: 101
b: 102
c: 103
@ -34,7 +34,7 @@
- include: included_task1.yml a={{a}} b={{b}} c=103
- name: verify variable include params
assert:
assert:
that:
- "ca == 101"
- "cb == 102"
@ -80,5 +80,3 @@
# both these via a handler include
- included_handler
- verify_handler

View file

@ -1,8 +1,7 @@
- name: verify playbook includes can take parameters
hosts: testhost
tasks:
- assert:
- assert:
that:
- "parameter1 == 'asdf'"
- "parameter2 == 'jkl'"
@ -10,7 +9,7 @@
- name: verify task include logic
hosts: testhost
gather_facts: True
roles:
roles:
- { role: test_includes, tags: test_includes }
tasks:
- include: roles/test_includes/tasks/not_a_role_task.yml