1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-26 03:01:56 +00:00
community.general/test/integration/targets/file/tasks/unicode_path.yml
Sloane Hertel cd77ea3c7f
File module - fix unicode paths and add a test (#57558)
* File module - Fix unicode paths

* Add a test for unicode paths for the file module
2019-06-07 21:27:38 -04:00

10 lines
283 B
YAML

- name: create local file with unicode filename and content
lineinfile:
dest: "{{ output_dir }}/语/汉语.txt"
create: true
line: 汉语
- name: remove local file with unicode filename and content
file:
path: "{{ output_dir }}/语/汉语.txt"
state: absent