I have a handler of the following form:

- name: reinit task_handler
  uri: url=some_url return_content=yes
  register: webpage
  delegate_to: localhost

Now I want to look for some string in webpage.content and mark this a pass
or fail. However, I am not able to do this in any way. I tried adding a
when in the handler, tried to add a notify in this handler and tried to
examine webpage.content in there and a few more things.

Kindly help.

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CABnk5p1JXRmutiEynn%2BX08Q5feLTVE9OwbrgbFVRb5FaSae2ZQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to