Fixes to the controller text model (#17527)

* Fixes to the controller text model

* Change command line args to text type
* Make display replace undecodable bytes with replacement chars.  This
  is only a problem on pyhton3 where surrogates can enter into the msg
  but sys.stdout doesn't know how to handle them.
* Remove a deprecated playbook syntax in unicode.yml

* Fix up run_cmd to change its parameters to byte string at appropriate times.
This commit is contained in:
Toshio Kuratomi 2016-09-12 12:57:41 -07:00 committed by GitHub
commit bf29961947
4 changed files with 27 additions and 9 deletions

View file

@ -32,7 +32,7 @@
groups: 'ĪīĬĭ'
ansible_ssh_host: 127.0.0.1
ansible_connection: local
with_items: hostnames
with_items: "{{ hostnames }}"
- name: 'A task with unicode extra vars'
debug: var=extra_var