Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
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 AM
11/27/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 AM
11/27/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
http://docs.ansible.com/ansible/latest/playbooks_tests.html#version-comparison
Reply all
Reply to author
Forward
0 new messages