We're not supposed to use Jinja2 templates in this
context, as recent versions of Ansible very helpfully
point out.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
guests/tasks/base.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guests/tasks/base.yml b/guests/tasks/base.yml
index c69c701..3793153 100644
--- a/guests/tasks/base.yml
+++ b/guests/tasks/base.yml
@@ -21,14 +21,14 @@
os_version: Sid
when:
- os_name == 'Debian'
- - '{{ ansible_distribution_major_version|match("^.*/sid$") }}'
+ - ansible_distribution_major_version|match("^.*/sid$")
- name: Set additional facts (OS)
set_fact:
os_version: Current
when:
- ansible_distribution == 'FreeBSD'
- - '{{ ansible_distribution_release|match("^.*-CURRENT$") }}'
+ - ansible_distribution_release|match("^.*-CURRENT$")
- name: Set additional facts (package format)
set_fact:
--
2.17.1