mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 04:11:25 -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
|
@ -7,4 +7,3 @@
|
|||
- debug: msg="you should still see this"
|
||||
- fail:
|
||||
- debug: msg="you should NOT see this"
|
||||
|
||||
|
|
|
@ -3,4 +3,3 @@
|
|||
- included
|
||||
#- debug: msg="this is the second debug in the include"
|
||||
- debug: msg="this is the third debug in the include, and a is still {{a}}"
|
||||
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
- debug: msg="this is the l1 include"
|
||||
- include: common_include.yml
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
- debug: msg="this is the l2 include"
|
||||
- debug: msg="a second task for l2"
|
||||
- include: common_include.yml
|
||||
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
- debug: msg="this is the localhost include"
|
||||
- include: common_include.yml
|
||||
|
||||
|
|
|
@ -4,4 +4,3 @@
|
|||
my_var: "Bazinga!"
|
||||
tasks:
|
||||
- debug: msg="the rendered template is {{ lookup('template', 'template.j2') }}"
|
||||
|
||||
|
|
|
@ -22,4 +22,3 @@
|
|||
#handlers:
|
||||
#- name: foo
|
||||
# include: include.yml a="this is a handler"
|
||||
|
||||
|
|
|
@ -39,4 +39,3 @@
|
|||
debug: msg="this is the foo handler"
|
||||
- name: bar
|
||||
debug: msg="this is the bar handler, you should not see this"
|
||||
|
||||
|
|
|
@ -3,4 +3,3 @@
|
|||
roles:
|
||||
- { role: role_a, tags: A, when: skip != "A" }
|
||||
- { role: role_b, tags: B, when: skip != "B" }
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
gather_facts: no
|
||||
vars:
|
||||
alpha: [ 'a', 'b', 'c', 'd' ]
|
||||
numbers: [ 1, 2, 3, 4 ]
|
||||
numbers: [ 1, 2, 3, 4 ]
|
||||
tasks:
|
||||
- debug: msg="{{ item.0 }} and {{ item.1 }}"
|
||||
with_together:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue