corrected varname that started with number and broke templating

This commit is contained in:
Brian Coca 2015-08-24 22:28:53 -04:00
parent 104b8a9a7b
commit d6a1cbeefb

View file

@ -37,12 +37,12 @@
- name: 9851 - Compare generated json to known good - name: 9851 - Compare generated json to known good
shell: diff -w {{output_dir}}/9851.out {{output_dir}}/9851.txt shell: diff -w {{output_dir}}/9851.out {{output_dir}}/9851.txt
register: 9851_diff_result register: diff_result_9851
- name: 9851 - verify generated file matches known good - name: 9851 - verify generated file matches known good
assert: assert:
that: that:
- '9851_diff_result.stdout == ""' - 'diff_result_9851.stdout == ""'
- name: fill in a basic template - name: fill in a basic template
template: src=foo.j2 dest={{output_dir}}/foo.templated mode=0644 template: src=foo.j2 dest={{output_dir}}/foo.templated mode=0644