blob: da55c16752bdc309563a14300c10a3eabde15dd1 (
plain)
1
2
3
4
5
6
7
8
9
10
|
- hosts: h1
gather_facts: no
tasks:
- set_fact:
templated_foo: "{{ lookup('template', 'template.in') }}"
- name: Test that the hostvar was templated correctly
assert:
that:
- templated_foo == "foo\n"
|