How to use when condition with value in range

9 views
Skip to first unread message

sushil kumar

unread,
Nov 27, 2017, 7:23:55 AM11/27/17
to Ansible Project
Hi Team,

I have a requirement to use replace module of ansible when a specific variable value is in some range like below
Release (2.1) and ABOVE
Release 2.0.3 -> 2.0.99
Release 1.8.8 -> 1.8.99
Release 1.7.11 -> 1.7.99
something like --  When:  version | int == [1.7.11 .. 1.7.99] , any help will be much appreciative.

rhys.jame...@googlemail.com

unread,
Nov 27, 2017, 7:39:25 AM11/27/17
to Ansible Project
Reply all
Reply to author
Forward
0 new messages