How do I get Ansible to monitor a log file and take an action when the 
process stops appending?

I have a high volume process that we'll drain before stopping it.  The 
process will have queued a significant number of transactions just prior 
being placed in administrative mode.  The process will continue to handle 
those items while appending to the log.  I want Ansible to look at the 
file, verify that nothing is being added to it, and then stop the service.  

How do I express this in a playbook?

-- 
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/7bdc049f-8ff4-4e6e-82ef-85fedf23cccf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to