Commit 3ccc2ae2 by Toshio Kuratomi

Fix include test to keep type

parent 974731be
......@@ -26,8 +26,9 @@
- "cb == '2'"
- "cc == '3'"
# Fact takes precedence over include param as fact is host-specific
- set_fact:
a: 101
a: 101
b: 102
c: 103
......@@ -36,6 +37,21 @@
- name: verify variable include params
assert:
that:
- "ca == 101"
- "cb == 102"
- "cc == 103"
# Test that strings are not turned into numbers
- set_fact:
a: "101"
b: "102"
c: "103"
- include: included_task1.yml a={{a}} b={{b}} c=103
- name: verify variable include params
assert:
that:
- "ca == '101'"
- "cb == '102'"
- "cc == '103'"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment