which is true of certain Java application servers. It is also
which is true of certain Java application servers. It is also
useful when starting guests with the M(virt) module and
useful when starting guests with the M(virt) module and
needing to pause until they are ready. This module can
needing to pause until they are ready. This module can
also be used to wait for a file to be available on the filesystem
also be used to wait for a file to be available or absent on the
or with a regex match a string to be present in a file.
filesystem or with a regex match a string to be present in a file.
version_added: "0.7"
version_added: "0.7"
options:
options:
host:
host:
...
@@ -60,10 +60,10 @@ options:
...
@@ -60,10 +60,10 @@ options:
required: false
required: false
state:
state:
description:
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 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
- 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