diff options
author | Adrien Vergé <adrienverge@gmail.com> | 2016-04-18 16:47:38 +0200 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2016-11-11 14:50:57 -0800 |
commit | 0e834fc9e4ace93a5e47647fb3544d775977d90c (patch) | |
tree | ad27e0acb1dd75fb28c9d9701ff9bf4df262a277 /test/integration/targets/get_url | |
parent | 8874c1dc39e0901ea958cfaab8206ee7f4e3c6e9 (diff) | |
download | ansible-0e834fc9e4ace93a5e47647fb3544d775977d90c.tar.gz |
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.
Diffstat (limited to 'test/integration/targets/get_url')
-rw-r--r-- | test/integration/targets/get_url/meta/main.yml | 1 | ||||
-rw-r--r-- | test/integration/targets/get_url/tasks/main.yml | 14 |
2 files changed, 7 insertions, 8 deletions
diff --git a/test/integration/targets/get_url/meta/main.yml b/test/integration/targets/get_url/meta/main.yml index b5f2416aed..a5f3f70736 100644 --- a/test/integration/targets/get_url/meta/main.yml +++ b/test/integration/targets/get_url/meta/main.yml @@ -1,4 +1,3 @@ dependencies: - prepare_tests - prepare_http_tests - diff --git a/test/integration/targets/get_url/tasks/main.yml b/test/integration/targets/get_url/tasks/main.yml index 521dd9efab..f95158eabd 100644 --- a/test/integration/targets/get_url/tasks/main.yml +++ b/test/integration/targets/get_url/tasks/main.yml @@ -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 |