You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/lookups/template_deepcopy/playbook.yml

11 lines
245 B
YAML

- 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"