mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
corrected varname that started with number and broke templating
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user