diff --git a/test/integration/roles/test_filters/tasks/main.yml b/test/integration/roles/test_filters/tasks/main.yml index cfb51ce2790..03566220e52 100644 --- a/test/integration/roles/test_filters/tasks/main.yml +++ b/test/integration/roles/test_filters/tasks/main.yml @@ -52,7 +52,7 @@ copy: src=foo.txt dest={{output_dir}}/foo.txt - name: compare templated file to known good - shell: diff {{output_dir}}/foo.templated {{output_dir}}/foo.txt + shell: diff -w {{output_dir}}/foo.templated {{output_dir}}/foo.txt register: diff_result - name: verify templated file matches known good diff --git a/test/integration/roles/test_template/tasks/main.yml b/test/integration/roles/test_template/tasks/main.yml index 17555a47a46..f29d8b474c9 100644 --- a/test/integration/roles/test_template/tasks/main.yml +++ b/test/integration/roles/test_template/tasks/main.yml @@ -50,7 +50,7 @@ copy: src=foo.txt dest={{output_dir}}/foo.txt - name: compare templated file to known good - shell: diff {{output_dir}}/foo.templated {{output_dir}}/foo.txt + shell: diff -w {{output_dir}}/foo.templated {{output_dir}}/foo.txt register: diff_result - name: verify templated file matches known good