Skip to content

Commit 22e8f0e

Browse files
committed
Fixed ansible distribution check template error
This fixes both: - [inkatze#42](inkatze#43): using ansible_distribution_major_version instead of ansible_distribution_version - [inkatze#62](inkatze#62): using is version instead of version_compare
1 parent 5cbbc9c commit 22e8f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tasks/configure.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
permanent: yes
7575
immediate: yes
7676
state: enabled
77-
when: ansible_distribution_version|version_compare(7, '=') and wildfly_manage_firewall
77+
when: ansible_distribution_major_version is version('7', '=') and wildfly_manage_firewall
7878

7979
- meta: flush_handlers
8080

0 commit comments

Comments
 (0)