mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
More fixes for unicode handling in the connection plugins.
Tested that ssh, docker, local, lxc-libvirt, chroot all work with the updated unicode integration test.
This commit is contained in:
@@ -93,6 +93,36 @@
|
||||
that:
|
||||
- "'Zażółć' in results.stdout_lines"
|
||||
|
||||
- name: Clean a temp directory
|
||||
file:
|
||||
path: /var/tmp/ansible_test_unicode_get_put
|
||||
state: absent
|
||||
|
||||
- name: Create a temp directory
|
||||
file:
|
||||
path: /var/tmp/ansible_test_unicode_get_put
|
||||
state: directory
|
||||
|
||||
- name: Create a file with a non-ascii filename
|
||||
file:
|
||||
path: /var/tmp/ansible_test_unicode_get_put/Zażółć
|
||||
state: touch
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Put with unicode filename
|
||||
copy:
|
||||
src: /var/tmp/ansible_test_unicode_get_put/Zażółć
|
||||
dest: /var/tmp/ansible_test_unicode_get_put/Zażółć2
|
||||
|
||||
- name: Fetch with unicode filename
|
||||
fetch:
|
||||
src: /var/tmp/ansible_test_unicode_get_put/Zażółć2
|
||||
dest: /var/tmp/ansible_test_unicode_get_put/
|
||||
|
||||
- name: Clean a temp directory
|
||||
file:
|
||||
path: /var/tmp/ansible_test_unicode_get_put
|
||||
state: absent
|
||||
|
||||
- name: 'A play for hosts in group: ĪīĬĭ'
|
||||
hosts: 'ĪīĬĭ'
|
||||
|
||||
Reference in New Issue
Block a user