mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-16 01:45: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
|
@ -1,4 +1,3 @@
|
|||
dependencies:
|
||||
- prepare_tests
|
||||
- prepare_http_tests
|
||||
|
||||
|
|
|
@ -37,15 +37,15 @@
|
|||
geturl_dstfile: "{{ output_dir | expanduser }}/aurlfile_copy.txt"
|
||||
|
||||
- name: Create source file
|
||||
copy:
|
||||
dest: "{{ geturl_srcfile }}"
|
||||
content: "foobar"
|
||||
copy:
|
||||
dest: "{{ geturl_srcfile }}"
|
||||
content: "foobar"
|
||||
|
||||
- name: test file fetch
|
||||
get_url:
|
||||
url: "{{ 'file://' + geturl_srcfile }}"
|
||||
dest: "{{ geturl_dstfile }}"
|
||||
register: result
|
||||
dest: "{{ geturl_dstfile }}"
|
||||
register: result
|
||||
|
||||
- name: assert success and change
|
||||
assert:
|
||||
|
@ -56,8 +56,8 @@
|
|||
- name: test nonexisting file fetch
|
||||
get_url:
|
||||
url: "{{ 'file://' + geturl_srcfile + 'NOFILE' }}"
|
||||
dest: "{{ geturl_dstfile + 'NOFILE' }}"
|
||||
register: result
|
||||
dest: "{{ geturl_dstfile + 'NOFILE' }}"
|
||||
register: result
|
||||
ignore_errors: True
|
||||
|
||||
- name: assert success and change
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue