mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #9739 from jbinto/file_allow_touch_hardlink
Add integration test for ansible-modules-core #460
This commit is contained in:
commit
7e0fc6a8bc
1 changed files with 9 additions and 0 deletions
|
@ -106,6 +106,15 @@
|
||||||
that:
|
that:
|
||||||
- "file6_result.changed == true"
|
- "file6_result.changed == true"
|
||||||
|
|
||||||
|
- name: touch a hard link
|
||||||
|
file: src={{output_file}} dest={{output_dir}}/hard.txt state=touch
|
||||||
|
register: file6_touch_result
|
||||||
|
|
||||||
|
- name: verify that the hard link was touched
|
||||||
|
assert:
|
||||||
|
that:
|
||||||
|
- "file6_touch_result.changed == true"
|
||||||
|
|
||||||
- name: create a directory
|
- name: create a directory
|
||||||
file: path={{output_dir}}/foobar state=directory
|
file: path={{output_dir}}/foobar state=directory
|
||||||
register: file7_result
|
register: file7_result
|
||||||
|
|
Loading…
Reference in a new issue