Skip to content

Commit

Permalink
Cast as an integer.
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-de-bock committed Oct 23, 2023
1 parent c234ebb commit 58c7d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/assert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- name: assert | Test java_version
ansible.builtin.assert:
that:
- java_version is number
- java_version | int is number
- java_version | int in [ 6, 7, 8, 9, 10, 11, 12, 13, 17, 19, 20, 21 ]
quiet: yes
when:
Expand Down

0 comments on commit 58c7d14

Please sign in to comment.