which is true of certain Java application servers. It is also
useful when starting guests with the M(virt) module and
needing to pause until they are ready. This module can
also be used to wait for a file to be available on the filesystem
or with a regex match a string to be present in a file.
also be used to wait for a file to be available or absent on the
filesystem or with a regex match a string to be present in a file.
version_added: "0.7"
options:
host:
@ -60,10 +60,10 @@ options:
required: false
state:
description:
- either C(present), C(started), or C(stopped)
- either C(present), C(started), or C(stopped),C(absent)
- When checking a port C(started) will ensure the port is open, C(stopped) will check that it is closed
- When checking for a file or a search string C(present) or C(started) will ensure that the file or string is present before continuing
choices: [ "present", "started", "stopped" ]
- When checking for a file or a search string C(present) or C(started) will ensure that the file or string is present before continuing, C(absent) will check that file is absent or removed