1 2 3 4 5 6 7 8 9
- hosts: localhost gather_facts: False tasks: - assert: that: - '"{{ foo }}" == "bar"' - foo == "bar" vars: foo: bar