diff --git a/test/integration/roles/test_template/tasks/main.yml b/test/integration/roles/test_template/tasks/main.yml index 65064012a2..8ab6d4ac19 100644 --- a/test/integration/roles/test_template/tasks/main.yml +++ b/test/integration/roles/test_template/tasks/main.yml @@ -97,6 +97,9 @@ - "dir_attrs.stat.pw_name == 'nobody'" - "dir_attrs.stat.mode == '0755'" +- name: Check that template to a dirctory where the directory does not end with a / is allowed + template: src=foo.j2 dest={{output_dir | expanduser}}/template-dir mode=0600 owner=root group=root + - name: make a symlink to the templated file file: path: '{{ output_dir }}/foo.symlink'