mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-04 01:33:09 +00:00
Add integration test for ansible-modules-core #460
See https://github.com/ansible/ansible-modules-core/pull/460
This commit is contained in:
@@ -106,6 +106,15 @@
|
||||
that:
|
||||
- "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
|
||||
file: path={{output_dir}}/foobar state=directory
|
||||
register: file7_result
|
||||
|
||||
Reference in New Issue
Block a user