Skip to content

Commit

Permalink
Merge pull request #171 from pythian/rel/oratk-24
Browse files Browse the repository at this point in the history
Fix Ansible warning about using jinja2 template variable delimiters…
  • Loading branch information
mfielding authored Jan 13, 2025
2 parents 893be1b + 678f088 commit 5774f7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/base-provision/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
- name: Validate OS family and version
assert:
that:
- "ansible_os_family == '{{ os_family_supported }}'"
- "ansible_distribution_version is version_compare('{{ os_min_supported_version }}', '>=')"
- "ansible_os_family == os_family_supported"
- "ansible_distribution_version is version_compare(os_min_supported_version, '>=')"
tags: oscheck

- name: Validate architecture
Expand Down

0 comments on commit 5774f7d

Please sign in to comment.