1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Integration test for #10300

This commit is contained in:
Toshio Kuratomi 2015-02-25 11:16:34 -08:00
parent ac40ffa157
commit e146245a0d

View file

@ -97,6 +97,9 @@
- "dir_attrs.stat.pw_name == 'nobody'" - "dir_attrs.stat.pw_name == 'nobody'"
- "dir_attrs.stat.mode == '0755'" - "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 - name: make a symlink to the templated file
file: file:
path: '{{ output_dir }}/foo.symlink' path: '{{ output_dir }}/foo.symlink'