summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/file
diff options
context:
space:
mode:
authorAdrien Vergé <adrienverge@gmail.com>2016-04-18 16:47:38 +0200
committerMatt Clay <matt@mystile.com>2016-11-11 23:50:57 +0100
commit0e834fc9e4ace93a5e47647fb3544d775977d90c (patch)
treead27e0acb1dd75fb28c9d9701ff9bf4df262a277 /test/integration/targets/file
parentImproved Get-PendingRebootStatus (diff)
downloadansible-0e834fc9e4ace93a5e47647fb3544d775977d90c.tar.xz
ansible-0e834fc9e4ace93a5e47647fb3544d775977d90c.zip
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/file')
-rw-r--r--test/integration/targets/file/meta/main.yml3
-rw-r--r--test/integration/targets/file/tasks/main.yml2
-rw-r--r--test/integration/targets/file/tasks/selinux_tests.yml2
3 files changed, 3 insertions, 4 deletions
diff --git a/test/integration/targets/file/meta/main.yml b/test/integration/targets/file/meta/main.yml
index 1050c23ce3..07faa21776 100644
--- a/test/integration/targets/file/meta/main.yml
+++ b/test/integration/targets/file/meta/main.yml
@@ -1,3 +1,2 @@
-dependencies:
+dependencies:
- prepare_tests
-
diff --git a/test/integration/targets/file/tasks/main.yml b/test/integration/targets/file/tasks/main.yml
index c6cbd6f6ad..91d6f8ed0d 100644
--- a/test/integration/targets/file/tasks/main.yml
+++ b/test/integration/targets/file/tasks/main.yml
@@ -108,7 +108,7 @@
- name: touch a hard link
file: src={{output_file}} dest={{output_dir}}/hard.txt state=touch
- register: file6_touch_result
+ register: file6_touch_result
- name: verify that the hard link was touched
assert:
diff --git a/test/integration/targets/file/tasks/selinux_tests.yml b/test/integration/targets/file/tasks/selinux_tests.yml
index b0f6e17de2..5589ca5dac 100644
--- a/test/integration/targets/file/tasks/selinux_tests.yml
+++ b/test/integration/targets/file/tasks/selinux_tests.yml
@@ -27,4 +27,4 @@
- "file_se_result.secontext == 'unconfined_u:object_r:admin_home_t:s0'"
- name: remove the file used for testing
- file: path={{output_dir}}/foo-se.txt state=absent \ No newline at end of file
+ file: path={{output_dir}}/foo-se.txt state=absent