Hi,
Today I setup a playbook to upgrade our CitrusLeaf NoSQL database
server. The database takes between 25 and 50 minutes to start based
on the particular cluster and hardware. When I start the server
manually the way I know the server is ready is to tail the log for the
word cake i.e. tail -f /var/log/citrusleaf.log | grep -i cake. There
are other commands I can run to see if the server has started, but are
generally run for other information.
Is there away I can get ansible to recognize that the process has
completed starting up? I would like to have the playbook complete
other tasks after the database has started, and upgrade the next host
in the cluster.
Thanks,
James