Skip to content

Commit

Permalink
Updated formating in remote_jobs doc
Browse files Browse the repository at this point in the history
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
  • Loading branch information
Akasurde committed Aug 16, 2022
1 parent 3461a40 commit e675d1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/remote_jobs.rst
Expand Up @@ -41,11 +41,11 @@ it will extract the contents to a temporary directory which is deleted at the en
If the ``--private-data-dir`` option is given, then the directory will persist after the run finishes
unless the ``--delete`` flag is also set. In that case, the private data directory will be deleted before execution if it exists and also removed after execution.

The following command offers out-of-band cleanup.
The following command offers out-of-band cleanup::

$ ansible-runner worker cleanup --file-pattern=/tmp/foo_*

This would assure that old directories that fit the file glob "/tmp/foo_*" are deleted,
This would assure that old directories that fit the file glob ``/tmp/foo_*`` are deleted,
which would could be used to assure cleanup of paths created by commands like
``ansible-runner worker --private_data_dir=/tmp/foo_3``, for example.
NOTE: see the ``--grace-period`` option, which sets the time window.
Expand Down

0 comments on commit e675d1a

Please sign in to comment.