From e675d1a3245a455418fb26db866cdbbdcdfb2d1e Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Tue, 16 Aug 2022 18:21:32 +0530 Subject: [PATCH] Updated formating in remote_jobs doc Signed-off-by: Abhijeet Kasurde --- docs/remote_jobs.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/remote_jobs.rst b/docs/remote_jobs.rst index a4c031ece..8eabdc338 100644 --- a/docs/remote_jobs.rst +++ b/docs/remote_jobs.rst @@ -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.