mirror of https://github.com/ansible/ansible.git
File module - fix unicode paths and add a test (#57558)
* File module - Fix unicode paths * Add a test for unicode paths for the file modulepull/57562/head
parent
93a85b6c86
commit
cd77ea3c7f
@ -0,0 +1,10 @@
|
||||
- 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
|
||||
Loading…
Reference in New Issue