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

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0aaeec9c-c453-4a80-8ee7-9f2d187a46b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to