mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-30 07:50:43 +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:
parent
669b311dbe
commit
46903c80fa
7 changed files with 62 additions and 29 deletions
|
|
@ -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: 'ĪīĬĭ'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue