Fix for v1 handling of unicode extra-vars

This commit is contained in:
Toshio Kuratomi 2015-02-02 14:12:16 -08:00
commit 5b279c1c15
3 changed files with 9 additions and 3 deletions

View file

@ -33,7 +33,7 @@ includes:
ansible-playbook test_includes.yml -i $(INVENTORY) -e @$(VARS_FILE) $(CREDENTIALS_ARG) $(TEST_FLAGS)
unicode:
ansible-playbook unicode.yml -i $(INVENTORY) -e @$(VARS_FILE) -v $(TEST_FLAGS)
ansible-playbook unicode.yml -i $(INVENTORY) -e @$(VARS_FILE) -v $(TEST_FLAGS) -e 'extra_var=café'
# Test the start-at-task flag #9571
ansible-playbook unicode.yml -i $(INVENTORY) -e @$(VARS_FILE) -v --start-at-task '*¶' -e 'start_at_task=True' $(TEST_FLAGS)

View file

@ -35,6 +35,10 @@
host_id: '{{item}}'
with_sequence: start=1 end={{num_hosts}} format=%d
- name: 'A task with unicode extra vars'
debug: var=extra_var
- name: 'A play for hosts in group: ĪīĬĭ'
hosts: 'ĪīĬĭ'
gather_facts: true