8c6f6033b0
Fixes #27262 (cherry picked from commit81b2529159
) Add tests for template with non-ascii filenames This is a test in response to #27262 but I could not provoke the error so it only shows that the current code is working with non-ascii filenames in this case. It doesn't show whether there's some other bug somewhere. (cherry picked from commitf91d961cb4
)
12 lines
328 B
YAML
12 lines
328 B
YAML
---
|
|
- hosts: testhost
|
|
gather_facts: False
|
|
tasks:
|
|
- file:
|
|
path: '{{ output_dir }}/café.txt'
|
|
state: 'absent'
|
|
# Smoketest that ansible_managed with non-ascii chars works:
|
|
# https://github.com/ansible/ansible/issues/27262
|
|
- template:
|
|
src: 'templates/café.j2'
|
|
dest: '{{ output_dir }}/café.txt'
|