Skip to content

Commit

Permalink
[bp/2.2] Updated formating in remote_jobs doc (#1121)
Browse files Browse the repository at this point in the history
(cherry picked from commit 00b0fe0)
  • Loading branch information
Akasurde committed Aug 24, 2022
1 parent d119799 commit 88404ce
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 88404ce

Please sign in to comment.