Freinds:
Thank you for your time and attention on this, in advance.
I have the following do-until loop and I am trying to understand how to match regurlar experssions.
…
…
shell: “curl -sk -m 2 http://localhost:8080/Log4JControl/version.jsp”
register: result
until: result.stdout.find(“3.6.2.85”) != -1
retries: 60
delay: 10
The find function takes a string that varies from each server to server.
The 3.6.2.85 is not a constant. I want to be able to match 3.*. I get an empty string for almost 4 mintutes but then I will get 3.x…x
Is that function find coming from Python ?
Where can I find more documentation on that find command to see if it can match regex ?
Regards,
-Narahari