mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-02 23:31: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
|
@ -19,9 +19,9 @@
|
|||
# the following tests all raise errors, to use them in a Makefile, we run them with different flags, as
|
||||
# otherwise ansible stops at the first one and we want to ensure STOP conditions for each
|
||||
|
||||
- set_fact:
|
||||
- set_fact:
|
||||
test_file: "{{ output_dir }}/ansible_test_file" # FIXME, use set tempdir
|
||||
test_input: "owner=test"
|
||||
test_input: "owner=test"
|
||||
bad_var: "{{ output_dir }}' owner=test"
|
||||
chdir: "mom chdir=/tmp"
|
||||
tags: common
|
||||
|
|
|
@ -2,4 +2,3 @@
|
|||
file: path={{ test_file }} {{ test_input }}
|
||||
failed_when: False # ignore the module, just test the parser
|
||||
tags: scenario1
|
||||
|
||||
|
|
|
@ -2,4 +2,3 @@
|
|||
file: path={{ test_file }} owner=test2 {{ test_input }}
|
||||
failed_when: False # ignore the module, just test the parser
|
||||
tags: scenario2
|
||||
|
||||
|
|
|
@ -2,4 +2,3 @@
|
|||
shell: echo hi {{ chdir }}
|
||||
failed_when: False
|
||||
tags: scenario3
|
||||
|
||||
|
|
|
@ -2,4 +2,3 @@
|
|||
file: "name={{ bad_var }}"
|
||||
failed_when: False
|
||||
tags: scenario4
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue