Skip to content

Commit e710340

Browse files
committed
orahost: Fix warning conditional statements should not include jinja2 templating
1 parent ffa363f commit e710340

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

changelogs/fragments/assert.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
bugfixes:
3+
- "orahost: Fix warning conditional statements should not include jinja2 templating (oravirt#391)"

roles/orahost/tasks/assert.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
ansible.builtin.assert:
44
quiet: true
55
that:
6-
- "ansible_os_family == '{{ os_family_supported }}'"
7-
- "ansible_facts['distribution_version'] is version('{{ os_min_supported_version }}', '>=')"
6+
- ansible_os_family == os_family_supported
7+
- ansible_facts['distribution_version'] is version(os_min_supported_version, '>=')
88
tags:
99
- oscheck
1010

0 commit comments

Comments
 (0)